*{box-sizing:border-box}body{margin:0;font-family:Inter,'Microsoft YaHei','PingFang SC',sans-serif;background:#f7f7f7;color:#080d13}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:#f00017;color:white;padding:13px 20px;display:inline-flex;gap:10px;align-items:center;justify-content:center;font-weight:650;min-height:46px}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1478e5;outline-offset:3px}input,select,textarea{width:100%;padding:13px;border:1px solid #e0e1e3;border-radius:8px;background:#fafafa;color:#171c22;min-height:46px}textarea{resize:vertical;min-height:95px}label{display:block;color:#6c7179;font-size:14px;margin:16px 0}label input,label select{margin-top:7px}.check{display:flex;align-items:center;gap:10px;color:#333}.check input{width:20px;min-height:20px;margin:0;accent-color:#f00017}h1{font-size:42px;letter-spacing:-1.8px;line-height:1.3;margin:23px 0 30px}h2{font-size:23px;margin:16px 0}h3{font-size:18px;margin:14px 0}p{line-height:1.7}small{display:block;font-size:12px;color:#969ba4;line-height:1.7}aside{position:fixed;inset:0 auto 0 0;width:180px;background:#1c2225;color:#fff;padding:28px 12px;display:flex;flex-direction:column}aside>img{width:156px;height:76px;object-fit:contain;margin-bottom:26px}nav button{width:100%;justify-content:flex-start;background:transparent;color:#d1d5d9;margin:4px 0;padding:15px 18px;font-weight:500;font-size:16px}nav .active{background:linear-gradient(105deg,#f00017,#552026);color:white;box-shadow:inset 3px 0 #f00017}nav svg{width:23px}nav button:last-child{margin-top:25px;border-top:1px solid #ffffff19;border-radius:0}.logout{margin-top:auto;background:transparent;color:#aab0b5}.app main{margin-left:180px;padding:30px 38px;min-height:100vh}.top{display:flex;justify-content:space-between;align-items:center;color:#6b7179}.top>span{font-size:22px}.top>div{text-align:right}.top b{font-size:15px}.top small{margin-top:4px;letter-spacing:2px}.demo{display:flex;align-items:center;gap:8px;background:#fff1f1;color:#a9434c;font-size:12px;padding:9px 13px;border-radius:6px;margin:18px 0}.primary-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.action{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:270px;padding:34px 40px;border-radius:17px}.action>svg{width:76px;height:76px;stroke-width:1.6;margin-bottom:16px}.action strong{font-size:50px;line-height:1.4;letter-spacing:2px}.action span{font-size:23px;font-weight:400}.action i{position:absolute;right:25px;bottom:32px;border-radius:50%;background:#ffffff22;width:72px;height:72px;display:grid;place-items:center}.action i svg{width:32px;height:32px}.scan{background:linear-gradient(135deg,#ff001c,#ef0017)}.capture{background:#fff;color:#080d13;box-shadow:0 6px 24px #00000002}.capture>svg{color:#f00017}.capture span{color:#949aa4}.capture i{color:#f00017;background:#ffe0e4}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:26px 0 34px}.stats>button{background:#f0f1f2;color:#7e858f;justify-content:flex-start;text-align:left;padding:22px;align-items:flex-start;font-weight:400}.stats>button>svg{border-radius:50%;background:#ffe0e4;color:#f00017;box-sizing:content-box;padding:18px;width:28px;height:28px}.stats>button:nth-child(2)>svg{color:#1684ff;background:#e2ebfd}.stats>button:nth-child(3)>svg{color:#0a967e;background:#e0f0ea}.stats strong{display:block;font-size:40px;color:#080d13;line-height:1.4}.task{width:100%;background:white;color:#111;justify-content:flex-start;text-align:left;padding:24px 28px;gap:22px}.task b{font-size:20px}.task small{font-weight:400;margin-top:6px}.task>svg{margin-left:auto;color:#8f959c}.circle{display:grid;place-items:center;border-radius:50%;background:#f00017;color:white;width:64px;height:64px}.circle svg{width:32px;height:32px}footer{font-size:11px;color:#a2a7ad;letter-spacing:1px;margin-top:30px}.error,.notice,.warning{padding:14px 17px;border-radius:8px;margin:15px 0;font-size:14px;line-height:1.6}.error{background:#ffe1e3;color:#ad0016;display:flex;align-items:center;justify-content:space-between}.notice{background:#e9f8f0;color:#187c57}.warning{background:#fff1df;color:#9d6b21}.muted{color:#8e959f;font-size:14px}.text{background:none;color:inherit;padding:4px;min-height:32px}.secondary{background:#f0f1f2;color:#343b43}.full{width:100%;margin:8px 0}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}section{border-radius:15px;background:#fff;padding:24px}article{border:1px solid #eeeff1;border-radius:10px;padding:16px;margin:12px 0}.record{width:100%;justify-content:flex-start;background:#fff;color:#151a20;border:1px solid #ebedef;text-align:left;margin:8px 0;font-weight:400}.record>svg:last-child{margin-left:auto;color:#8b929b}.record b{font-size:17px}.record.selected{border-color:#f00017;background:#fff5f5}.search{display:flex;gap:12px;background:white;padding:10px 14px;border-radius:10px;align-items:center}.search input{border:0;background:none}.empty{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a0a5ac;font-size:14px;text-align:center}.skeleton{padding:35px;background:linear-gradient(90deg,#f0f0f0,#fff,#f0f0f0);color:#888;border-radius:10px}.heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.heading h1{margin-bottom:12px}.upload{min-height:330px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #d7d9dc;border-radius:10px;color:#a0a6af;text-align:center;padding:20px}.upload img{max-width:100%;max-height:470px;object-fit:contain}.upload p{font-size:12px}.tabs{display:flex;gap:8px;align-items:center;margin:16px 0}.tabs button{background:#f1f1f1;color:#777;padding:8px 14px;font-size:13px}.tabs .selected{background:#f00017;color:#fff}.tabs>span{font-size:12px;color:#999}.pill{display:inline-block;border-radius:20px;color:#eb0018;background:#fff0f1;padding:5px 12px;font-size:12px}.redemption{text-align:center;padding:30px 20px}.redemption>svg{color:#11a061}dl{text-align:left;display:grid;grid-template-columns:100px 1fr;gap:20px;margin:30px 0;font-size:14px}dt{color:#888}dd{margin:0}.chat-grid{display:grid;grid-template-columns:230px minmax(300px,1fr) 250px;gap:12px}.chat-grid section{padding:16px}.chat-grid .tabs{gap:2px}.chat-grid .tabs button{padding:6px 8px;font-size:12px}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#f1f1f1;border-radius:50%;color:#888}.queue .record{padding:12px 8px;gap:8px;font-size:13px}.queue .record small{font-size:10px}.messages{height:470px;overflow:auto;display:flex;flex-direction:column;padding:20px 0;gap:18px}.bubble{background:#f4f5f6;padding:10px 15px;border-radius:13px;max-width:88%;align-self:flex-start;min-width:100px}.bubble p{margin:5px 0;white-space:pre-wrap;word-break:break-word}.bubble.mine{background:#fff0f1;align-self:flex-end}.bubble small{font-size:10px}.package{padding:12px;background:white;max-width:260px;font-size:13px}.composer{display:flex;gap:8px;border-top:1px solid #eee;padding-top:15px}.composer input{min-width:0}.composer button{border-radius:50%;padding:12px}.context h3{font-size:15px}.context p{font-size:13px}.small.upload{min-height:110px;padding:10px}.internal{background:#fff9e5;padding:12px;border-radius:8px;margin-top:20px}.context button{font-size:12px;padding:9px}.context input{margin:5px 0}.overlay{position:fixed;inset:0;background:#0009;display:grid;place-items:center;z-index:5;padding:20px}.modal{background:white;padding:26px;width:min(600px,100%);border-radius:18px;max-height:94vh;overflow:auto}video{background:#111;width:100%;min-height:240px;border-radius:10px}.login{width:440px;max-width:calc(100vw - 40px);margin:8vh auto;background:white;border-radius:20px;padding:32px;box-shadow:0 15px 80px #00000008}.login>img{width:100%;height:100px;object-fit:contain;background:#1b2023;border-radius:10px;padding:10px}.login h1{font-size:28px;margin:25px 0 5px}.login>p{color:#888}.login form button{width:100%;margin:10px 0 22px}.busy{opacity:.65;pointer-events:none}@media(min-width:1400px){.app main{max-width:1600px;margin-right:auto}}@media(max-width:1100px){aside{width:152px}aside>img{width:128px}.app main{margin-left:152px;padding:24px}.chat-grid{grid-template-columns:180px 1fr}.context{grid-column:1/-1}.action{padding:25px;min-height:230px}.action strong{font-size:40px}.action span{font-size:18px}h1{font-size:35px}.stats>button{padding:18px;gap:12px}.stats>button>svg{padding:12px;width:24px;height:24px}}@media(max-width:720px){aside{position:static;width:auto;padding:12px}aside>img{height:45px;margin:0}aside nav{display:flex;overflow:auto}aside nav button{white-space:nowrap;margin:0;padding:10px;min-width:max-content}nav button:last-child{margin-top:0;border:0}aside small,.logout{display:none}.app main{margin:0;padding:18px}.top{font-size:12px}.top>span{font-size:18px}.primary-grid,.split,.stats{grid-template-columns:1fr}.action{min-height:180px}.action>svg{width:45px;height:45px}.chat-grid{grid-template-columns:1fr}.messages{height:400px}.search{flex-wrap:wrap}.heading{flex-wrap:wrap}h1{font-size:30px}.stats{gap:10px}.stats strong{font-size:30px}}
/* M01 visual comparison correction at the supplied 1448 x 1086 reference size. */
@media(min-width:1200px){aside{width:214px;padding-top:28px}aside>img{width:190px;height:85px;margin-bottom:25px}.app main{margin-left:214px;padding:40px 46px}h1{font-size:60px;margin:27px 0 40px;letter-spacing:-2px}.action{min-height:348px;padding:42px 54px}.action>svg{width:96px;height:96px;margin-bottom:22px}.action strong{font-size:62px}.action span{font-size:28px}.action i{width:94px;height:94px;right:28px;bottom:42px}.stats{margin:30px 0 40px}.stats>button{min-height:156px;padding:23px 30px;font-size:18px}.stats strong{font-size:48px}.task{min-height:140px}.task b{font-size:25px}.task small{font-size:17px}h2{font-size:27px}.chat-grid h1{font-size:40px}}
.app main>.demo{position:fixed;bottom:6px;right:14px;z-index:3;margin:0;background:#fff0f1e8;font-size:10px;padding:5px 10px}
.app main:not([data-page="M01"]) h1{font-size:32px;margin:24px 0;letter-spacing:-1px}
.chat-image{max-width:100%;max-height:280px;border-radius:10px;object-fit:contain}
@media(min-width:721px){.chat-grid{height:calc(100dvh - 220px);min-height:440px}.chat-grid>section{min-height:0;overflow:auto}.chat-grid .conversation{display:flex;flex-direction:column}.conversation>.heading{flex-shrink:0}.messages{height:auto;min-height:160px;flex:1}.composer{flex-shrink:0}.context{max-height:100%}}
@media(min-width:721px) and (max-width:1100px){nav button{white-space:nowrap;font-size:14px;padding:13px 8px;gap:8px}nav svg{width:20px;flex-shrink:0}.chat-grid{grid-template-columns:160px minmax(260px,1fr) 210px;gap:10px}.chat-grid .context{grid-column:auto}.chat-grid section{padding:12px}.chat-grid .queue{padding:8px}.chat-grid .tabs button{padding:8px 5px;font-size:11px}.context h3{font-size:14px}.context button{font-size:11px}.queue .record{font-size:12px;word-break:break-word}.queue .avatar{width:27px;flex-shrink:0}.composer{gap:5px}.composer button{padding:8px}.composer input{padding:10px}}
