:root{color-scheme:light;--ink:#221b36;--muted:#625c74;--muted-light:#706982;--line:#e8e3f0;--surface:#faf9fd;--white:#fff;--violet:#643dc2;--violet-dark:#522bb0;--tint:#f0eafa;--sidebar:#1c1630;font-family:"Inter","Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--surface);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,textarea,select{font:inherit}button,select{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.shell{min-height:100dvh;display:grid;grid-template-columns:230px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;background:var(--sidebar);color:#fdfbff;padding:27px 17px 20px;display:flex;flex-direction:column;gap:43px}.brand{display:flex;align-items:center;gap:12px;padding-left:7px}.brand-icon,.tile,.avatar,.device-avatar{display:grid;place-items:center;flex-shrink:0}.brand-icon{width:43px;height:43px;border-radius:13px;background:#8056e1;box-shadow:0 4px 18px #110c2660}.brand-icon .icon{width:23px;height:23px}.brand strong{display:block;font-size:21px;letter-spacing:-.8px;line-height:1.15}.brand div span{display:block;color:#c2b7d9;font-size:13px;margin-top:4px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:12px;border:1px solid transparent;padding:12px 13px;border-radius:9px;color:#d2c7e6;font-size:14px;font-weight:600}.sidebar nav a:hover,.sidebar nav a[aria-current]{background:#382958;color:#fff;border-color:#4c386f}.sidebar nav a[aria-current] .icon{color:#c4adff}.account{margin-top:auto;border-top:1px solid #453759;display:flex;gap:9px;padding:17px 0 0;align-items:center}.avatar{height:34px;width:34px;border-radius:50%;background:#453360;color:#e8ddff;font-weight:700}.account div{min-width:0;flex:1}.account strong,.account div span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account strong{font-size:13px}.account div span{color:#bfb4d4;font-size:12px;margin-top:3px}.exit{color:#dbcdf4;padding:5px;border-radius:7px}.exit:hover{background:#453360}.toolbar{height:65px;border-bottom:1px solid var(--line);background:var(--white);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 38px}.crumb{color:var(--muted);display:flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap}.crumb .icon{color:var(--violet);width:18px;height:18px}.crumb b{color:#a49ab6;font-weight:400}.crumb span:last-child{color:var(--ink);font-weight:650}.mode{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:6px 10px;border-radius:20px;background:#f0ebf9;color:#56368f;font-size:13px;font-weight:650}.mode i{background:#8460c8;width:7px;height:7px;border-radius:50%}.mode.live{background:#e8f5ef;color:#226344}.mode.live i{background:#408b66}.workspace{max-width:1240px;margin:auto;padding:36px 38px 44px}.page-head{margin-bottom:24px}.page-head h1{font-size:clamp(29px,3vw,39px);letter-spacing:-.035em;margin:0;line-height:1.18}.page-head p,.section-head p{margin:8px 0 0;color:var(--muted);line-height:1.5}.grid{display:grid;grid-template-columns:minmax(0,1.63fr) minmax(284px,1fr);gap:20px;align-items:stretch}.card{background:var(--white);border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 12px #25154106;min-width:0}.section-head{display:flex;align-items:center;gap:12px;padding:19px 22px;border-bottom:1px solid var(--line)}.tile{width:42px;height:42px;border-radius:11px;background:var(--tint);color:var(--violet)}.section-head h2{font-size:17px;line-height:1.25;margin:0}.section-head p{font-size:14px;margin-top:4px}.editor{display:flex;flex-direction:column}.editor-body{flex:1;padding:21px 22px}.editor-body label,.filters label{font-size:14px;font-weight:700}.phone-field{display:grid;grid-template-columns:minmax(132px,auto) minmax(0,1fr);gap:9px;margin:9px 0 22px}select,input,textarea{border:1px solid #dcd6e6;border-radius:8px;background:#fff;color:var(--ink);min-width:0}select,input{height:44px;padding:0 11px}select{appearance:none;padding-right:29px;background-image:linear-gradient(45deg,transparent 50%,#6a5c80 50%),linear-gradient(135deg,#6a5c80 50%,transparent 50%);background-position:calc(100% - 15px) 19px,calc(100% - 10px) 19px;background-size:5px 5px;background-repeat:no-repeat;font-size:14px}textarea{width:100%;padding:12px;resize:vertical;min-height:145px;line-height:1.55}::placeholder{color:#716b80;opacity:1}:focus-visible{outline:2px solid #8959ec;outline-offset:2px}.label-line,.below{display:flex;justify-content:space-between;align-items:center;gap:8px}.label-line{margin-bottom:9px}.label-line span,.below{font-size:13px;color:var(--muted-light)}.below{margin-top:8px}.below span:first-child{border-radius:5px;background:#f2edf9;padding:3px 7px;color:#62468c}.editor-foot{padding:15px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}button{border-radius:8px;min-height:42px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--violet);border:1px solid transparent;color:white;font-size:14px;font-weight:700}button:hover:not(:disabled){background:var(--violet-dark)}button:disabled{opacity:.53;cursor:default}.secondary{background:#fff;border-color:#ded7eb;color:#473a60}.secondary:hover:not(:disabled){background:#f4effb}.editor-foot .icon,.filters .icon{width:16px;height:16px}.preview{overflow:hidden}.preview-body{padding:18px 14px 14px;background:radial-gradient(ellipse at 52% 38%,#e8defb 0,#f3eefb 56%,#faf8fe 100%);display:flex;flex-direction:column;align-items:center;min-height:347px}.device{position:relative;width:min(100%,208px);height:288px;border:6px solid #292039;border-radius:29px;background:#fff;box-shadow:0 12px 28px #452a6a24;overflow:hidden}.notch,.home-line{position:absolute;left:50%;transform:translateX(-50%);background:#292039}.notch{top:0;width:70px;height:12px;border-radius:0 0 9px 9px}.home-line{bottom:6px;width:55px;height:3px;border-radius:5px}.device-content{height:100%;overflow:auto;padding:22px 12px 16px;display:flex;flex-direction:column;align-items:center}.device-avatar{width:36px;height:36px;border-radius:50%;background:#ece5fb;color:var(--violet);margin-bottom:5px}.device-avatar .icon{width:18px;height:18px}.device-content strong{font-size:15px}.device-label{font-size:12px;color:#6e657f;margin:5px 0 13px}.bubble{align-self:flex-start;background:#eee7fa;border-radius:11px 11px 11px 3px;padding:9px 10px;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;color:#392b58}.bubble.empty{color:#625577}.preview-note{display:flex;align-items:center;gap:6px;margin-top:15px;color:#5f5276;font-size:13px;text-align:center}.preview-note .icon{width:15px;height:15px}.notice{display:flex;align-items:flex-start;gap:8px;margin-top:17px;background:#f1ebfa;padding:12px 14px;border:1px solid #e7dcf7;border-radius:9px;color:#573e7d;font-size:14px;line-height:1.5}.notice .icon{width:17px;height:17px;margin-top:2px}.feedback{border-radius:7px;padding:10px;background:#f1ebfa;color:#513780;margin:12px 0 0;font-size:14px}.feedback.error{background:#fbeceb;color:#8a302e}.filters{display:flex;align-items:center;gap:10px;padding:16px 22px}.filters button{margin-left:auto}.history-status{color:var(--muted);margin:0;padding:0 22px 17px}.history-status:empty{display:none}.records{padding:0 22px}.record{border-top:1px solid var(--line);padding:14px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 15px}.record strong{font-size:15px}.record time,.record small{color:var(--muted);font-size:13px}.record p{white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0;grid-column:1/-1;line-height:1.5}.record small{grid-column:1/-1}.badge{justify-self:end;background:#f1eafa;border-radius:20px;color:#553489;padding:4px 9px;font-size:13px;font-weight:650}.badge.submitted{background:#e8f5ef;color:#225f41}.badge.failed{background:#fbeceb;color:#8a302e}.badge.unknown{background:#fff1d4;color:#754e16}.pager{border-top:1px solid var(--line);padding:14px 22px;display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:14px}dialog{width:min(460px,calc(100% - 26px));max-height:calc(100dvh - 26px);border:1px solid var(--line);padding:0;border-radius:15px;color:var(--ink);box-shadow:0 16px 70px #1c122d59}dialog::backdrop{background:#1c122d85}.confirm-body{display:grid;gap:8px;padding:18px 22px}.confirm-body span{font-size:14px;color:var(--muted)}.confirm-body strong{margin-bottom:8px}.confirm-body p{margin:0;padding:11px;border-radius:8px;background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.toolbar{padding:0 24px}.workspace{padding:29px 24px 32px}.grid{gap:14px;grid-template-columns:minmax(0,1.4fr) minmax(235px,1fr)}.section-head,.editor-body,.editor-foot{padding-left:16px;padding-right:16px}}
@media(max-width:800px){.shell{display:block}.sidebar{position:static;height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px 17px 0}.brand{padding-left:0}.brand-icon{width:37px;height:37px}.brand strong{font-size:19px}.sidebar nav{grid-column:1/-1;grid-row:2;display:flex;gap:6px}.sidebar nav a{padding:9px 11px;border-radius:8px 8px 0 0}.account{border:0;padding:0;margin:0}.account div,.account .avatar{display:none}.exit{display:inline-grid;place-items:center;width:40px;height:40px}.toolbar{height:52px;padding:0 17px}.workspace{padding:23px 16px 28px}}
@media(max-width:580px){.grid{grid-template-columns:minmax(0,1fr)}.page-head{margin-bottom:17px}.page-head p{font-size:15px}.preview-body{min-height:0}.phone-field{grid-template-columns:minmax(114px,auto) minmax(0,1fr)}.crumb{font-size:13px;gap:6px}.crumb .icon{display:none}.section-head{padding-top:14px;padding-bottom:14px}.editor-body{padding-top:17px}.filters,.records{padding-left:15px;padding-right:15px}.history-status{padding-left:15px;padding-right:15px}}

.logout{margin:0}.logout .exit{border:0;background:transparent;min-height:34px}.logout .exit:hover{background:#453360}
.login-shell{min-height:100dvh;display:grid;align-items:center;justify-items:center;padding:18px;background:radial-gradient(ellipse at 50% 20%,#f1e9fc 0,#faf9fd 68%)}.login-card{width:min(100%,430px);padding:26px}.login-card h1{font-size:26px;margin:20px 0 7px}.login-card p{color:var(--muted);margin:0 0 23px;line-height:1.5}.login-card form{display:grid;gap:10px}.login-card label{font-size:14px;font-weight:700}.login-card input{margin-bottom:8px}.login-card button{margin-top:6px}.login-card .feedback{margin:0 0 10px}
