:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#17212e;background:#f5f7fa;font-size:14px;--teal:#08a88a;--line:#e8edf1}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{border:1px solid #dce4e9;background:white;color:#405163;padding:10px 16px;border-radius:7px;cursor:pointer;min-height:40px}button:hover{border-color:var(--teal);color:#008f76}button:disabled{opacity:.5;cursor:not-allowed}.primary{color:white;background:var(--teal);border-color:var(--teal)}.primary:hover{background:#008e76;color:white}.danger{color:#df554d}.ghost{border:0;background:transparent;color:#008f76;padding:6px 10px}.price{color:#ff5a28;font-weight:700}.muted{color:#85909d;font-size:13px}.mono{font-family:ui-monospace,monospace;font-size:12px}h1,h2,h3,p{margin:0}h1{font-size:28px}h2{font-size:20px}h3{font-size:16px}p{line-height:1.8}input,select,textarea{border:1px solid #dde5eb;border-radius:7px;padding:11px 12px;background:#fff;color:#263444;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #08a88a12}textarea{min-height:110px;resize:vertical}label{display:block;color:#475568;font-size:13px;margin-bottom:8px}label.check{display:flex;align-items:flex-start;gap:8px;line-height:1.6}label.check input{width:auto;margin-top:4px}.field{margin-bottom:20px}.field small{display:block;color:#8491a0;margin-top:7px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.flex{display:flex;align-items:center;gap:12px}.spread{display:flex;align-items:center;justify-content:space-between;gap:16px}.stack{display:grid;gap:20px}.card{background:white;border:1px solid #edf0f4;border-radius:10px;padding:24px}.card>h3{margin-bottom:20px}.notice{background:#e6f6f1;color:#198b73;padding:13px 16px;border-radius:7px;line-height:1.7;font-size:13px}.warning{background:#fff7e7;color:#a77a25}.empty{text-align:center;padding:64px 24px;color:#7a8794}.loading{padding:80px;text-align:center;color:#7c8794}.shell{min-height:100vh;display:grid;grid-template-columns:216px 1fr}.sidebar{background:#192635;color:#8f9cac;padding:26px 14px;position:fixed;inset:0 auto 0 0;width:216px}.brand{display:flex;align-items:center;gap:10px;color:#fff;padding:0 10px 26px}.brand b{font-size:22px}.brand small{display:block;color:#9eabb8;font-size:12px;margin-top:4px}.logo{background:#08a88a;color:#fff;border-radius:9px;padding:8px;font-size:22px}.nav-item{display:flex;gap:12px;align-items:center;border:0;width:100%;color:#aeb9c5;background:transparent;text-align:left;margin:6px 0;padding:15px}.nav-item.active{color:white;background:#11695f}.nav-icon{font-size:18px;width:22px}.content{grid-column:2;min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between}.workspace{padding:32px;max-width:1800px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:16px}.badge{display:inline-block;font-size:12px;color:#0b997e;background:#e6f7f1;border-radius:5px;padding:5px 9px;white-space:nowrap}.badge.gray{background:#f0f2f5;color:#788390}.badge.orange{background:#fff3df;color:#bd8b32}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.kpi{padding:23px;background:white;border-radius:10px;border:1px solid #edf0f4}.kpi label{color:#6f7e90}.kpi strong{font-size:30px;display:block;letter-spacing:-.8px}.kpi small{display:block;color:#98a3af;margin-top:9px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.toolbar input{width:240px}.toolbar select{width:165px}.table-wrap{overflow:auto;background:#fff;border-radius:9px;border:1px solid var(--line)}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;background:#f7f9fb;font-size:12px;font-weight:500;color:#798797;padding:15px 16px}td{padding:16px;border-top:1px solid #eef1f5;color:#49576b;font-size:13px}td strong{color:#17212e}td small{display:block;color:#8d99a5;font-size:11px;margin-top:5px}.thumb{width:72px;height:48px;object-fit:cover;border-radius:5px}.pagination{padding:16px;background:white;display:flex;align-items:center;justify-content:flex-end;gap:14px;color:#84909e;font-size:12px}.tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.tabs button{border:0;background:transparent;color:#85909e}.tabs .active{color:var(--teal);background:#e5f6f0}.actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.form-width{max-width:1000px}.stepper{display:flex;gap:12px;margin-bottom:28px}.step{background:#eef1f5;color:#85909c;padding:12px 20px;border-radius:7px;flex:1}.step.active{background:#ddf5ed;color:#008d74;font-weight:600}.review dt{color:#8a96a5;float:left;clear:left;width:130px;padding:13px 0}.review dd{padding:13px 0;margin-left:140px;border-bottom:1px solid #f1f3f6;min-height:45px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:#e4f4ee;display:flex;flex-direction:column;justify-content:center;padding:15%;gap:20px}.login-art h1{font-size:40px}.login-form{display:flex;align-items:center;justify-content:center;background:white}.login-box{width:370px;padding:26px}.login-box h2{margin-bottom:12px}.login-box p{margin-bottom:30px}.link{color:#009982;text-decoration:none}.mode-banner{background:#fff5dc;color:#95722c;padding:9px 16px;font-size:12px}.login-footer{margin-top:22px;font-size:12px;color:#8c98a3;line-height:1.8}dialog{border:0;border-radius:13px;width:min(680px,calc(100vw - 32px));padding:30px;color:#17212e;box-shadow:0 30px 100px #17212e30}dialog::backdrop{background:#18253466}dialog h2{margin-bottom:24px}dialog .actions{position:sticky;bottom:0;background:white;padding-top:16px}#toast{position:fixed;top:28px;left:50%;transform:translateX(-50%);background:#17212e;color:white;padding:12px 22px;border-radius:8px;z-index:100;display:none;max-width:90vw}.line{height:1px;background:var(--line);margin:18px 0}.row-link{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;border-bottom:1px solid #edf1f4;padding:20px 0;border-radius:0;text-align:left}.hero{width:100%;display:block;border-radius:9px}.errorbox{background:#fff0ed;color:#b45345;padding:14px;border-radius:7px}.mobile-shell{max-width:430px;min-height:100vh;background:#f5f7fa;margin:auto;position:relative;box-shadow:0 0 70px #26354418;padding-bottom:90px}.mobile-header{position:sticky;top:0;background:#ffffffed;backdrop-filter:blur(12px);z-index:10;padding:18px 16px;display:flex;justify-content:space-between;align-items:center;height:65px;border-bottom:1px solid #edf0f3}.mobile-header b{font-size:18px}.mobile-header button{border:0;padding:0;min-height:32px;background:transparent}.capsule{border:1px solid #e6eaee;border-radius:30px;padding:4px 12px;color:#354052;letter-spacing:3px;font-size:13px}.mobile-content{padding:16px}.mobile-content .card{padding:18px;margin-bottom:14px}.mobile-content .toolbar input{width:100%}.mobile-content .toolbar{flex-wrap:nowrap}.mobile-content .tabs{gap:3px;flex-wrap:nowrap;overflow:auto}.mobile-content .tabs button{padding:8px 12px;white-space:nowrap;font-size:12px}.event-card{display:flex;gap:12px;padding:14px;background:white;border:1px solid #ecf0f4;border-radius:10px;margin-bottom:12px;width:100%;text-align:left}.event-card img{width:105px;height:105px;object-fit:cover;border-radius:7px}.event-card h3{font-size:16px;margin:3px 0 11px}.event-card .meta{font-size:11px;color:#8c99a5;line-height:1.9}.event-card .price{font-size:19px;margin-top:8px}.bottom-tabs{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);display:flex;background:white;border-top:1px solid #e5ebef;z-index:12;padding-bottom:env(safe-area-inset-bottom)}.bottom-tabs button{width:33.33%;border:0;border-radius:0;display:grid;gap:5px;padding:12px;color:#87929e;font-size:11px}.bottom-tabs i{font-style:normal;font-size:21px}.bottom-tabs button.active{color:var(--teal)}.bottom-cta{position:sticky;bottom:0;background:white;border-top:1px solid #edf1f4;padding:16px;display:flex;gap:12px;justify-content:space-between;align-items:center}.bottom-cta .primary{flex:1}.mobile-price{font-size:30px;color:#ff5a28;font-weight:700}.detail-row{display:flex;align-items:flex-start;gap:16px;padding:13px 0;border-bottom:1px solid #f0f3f5;font-size:13px}.detail-row span:first-child{color:#83909f;min-width:76px}.detail-row span:last-child{flex:1}.ticket-qr{width:250px;height:250px;display:block;margin:20px auto}.success-icon{width:60px;height:60px;border-radius:50%;background:#08a88a;color:white;font-size:34px;display:grid;place-items:center;margin:20px auto}.center{text-align:center}.order-card{background:white;padding:18px;border-radius:10px;margin-bottom:14px}.order-card .event-card{padding:0;border:0;margin-top:18px}.order-card .event-card img{width:85px;height:85px}.order-card .actions{margin-top:10px}.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.city-chip{padding:12px 24px}.profile-hero{padding:26px 18px;background:#fff;display:flex;gap:15px;align-items:center;border-radius:12px;margin-bottom:16px}.avatar{width:58px;height:58px;background:#ddf5ed;border-radius:50%;display:grid;place-items:center;color:#08a88a;font-size:25px}.stats{display:flex;background:#e6f6f0;padding:18px;justify-content:space-around;margin-bottom:16px;border-radius:10px}.stats strong{font-size:23px}.stats span{display:block;font-size:11px;color:#7e8e9a;margin-top:5px}.preline{white-space:pre-line;line-height:1.9}.summary-note{font-size:12px;line-height:1.8;color:#8995a2;margin-top:14px}.read-qr{max-width:260px;width:100%}.upload-row{display:flex;gap:20px;align-items:center}.upload-row img{width:160px;border-radius:8px}.field-row{display:grid;grid-template-columns:1fr 1fr 130px 80px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.field-row input[type=checkbox]{width:auto}.footer-note{color:#8c98a6;font-size:12px;margin-top:24px;line-height:1.8}@media(max-width:1000px){.kpis{grid-template-columns:1fr 1fr}.workspace{padding:20px}.grid2{grid-template-columns:1fr}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;width:100%;padding:10px;display:flex;overflow:auto;gap:5px}.brand{display:none}.nav-item{min-width:95px;margin:0;padding:10px}.nav-icon{display:none}.topbar{padding:0 16px;font-size:12px}.workspace{padding:16px}.page-title h1{font-size:24px}.login{display:block}.login-art{display:none}.login-form{min-height:100vh}.stepper{gap:4px}.step{padding:10px 5px;font-size:11px}.field-row{grid-template-columns:1fr 1fr 70px 55px}.card{padding:18px}.mobile-shell .grid2{display:grid;grid-template-columns:1fr 1fr}}

.hero-banner{position:relative;overflow:hidden;border-radius:12px}.hero-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#122e3890,transparent 80%)}.hero-title{position:absolute;left:24px;top:25%;color:white;font-size:30px;line-height:1.35;font-weight:700;z-index:1}.hero-title small{display:block;font-size:12px;font-weight:400;margin-top:14px}

/* 活动介绍富文本编辑器 */
.rte{border:1px solid #dde5eb;border-radius:8px;background:#fff;overflow:hidden}
.rte:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px #08a88a12}
.rte-bar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;background:#f7fafb;border-bottom:1px solid #e8edf1}
.rte-bar .ghost{padding:6px 9px;font-size:13px;color:#475568}
.rte-bar .ghost:hover{background:#eaf4f1;color:#008f76}
.rte-pick{position:relative;display:inline-flex;align-items:center;margin-left:4px;padding:6px 10px;font-size:13px;color:#008f76;cursor:pointer;border-radius:6px}
.rte-pick:hover{background:#eaf4f1}
.rte-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.rte-body{min-height:220px;max-height:460px;overflow:auto;padding:16px 18px;outline:none;font-size:14px;line-height:1.9;color:#3f4c5c}
.rte-body:empty:before{content:"介绍活动亮点、适合人群、现场安排等，可插入图片";color:#9aa6b2}
.rte-body p{margin:0 0 10px}
.rte-body h2,.rte-body h3{margin:14px 0 8px;color:#17212e;line-height:1.5}
.rte-body h2{font-size:19px}.rte-body h3{font-size:16px}
.rte-body ul,.rte-body ol{margin:8px 0;padding-left:24px}
.rte-body li{margin:3px 0}
.rte-body blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid var(--teal);background:#f2f9f7;color:#4d5b6b}
.rte-body img{max-width:100%;height:auto;display:block;margin:10px 0;border-radius:8px}
.rte-body hr{border:0;border-top:1px solid #e8edf1;margin:14px 0}
/* 富文本展示（后台预览、活动详情、手机演示） */
.rich{font-size:14px;line-height:1.9;color:#3f4c5c;word-break:break-word}
.rich p{margin:0 0 10px}
.rich h2,.rich h3{margin:14px 0 8px;color:#17212e;line-height:1.5}
.rich h2{font-size:19px}.rich h3{font-size:16px}
.rich ul,.rich ol{margin:8px 0;padding-left:24px}
.rich li{margin:3px 0}
.rich blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid var(--teal);background:#f2f9f7;color:#4d5b6b}
.rich img{max-width:100%;height:auto;display:block;margin:10px 0;border-radius:8px}
.rich hr{border:0;border-top:1px solid #e8edf1;margin:14px 0}
.mobile-shell .rich{font-size:15px}
.mobile-shell .rich img{border-radius:10px}
.minibar{display:block;width:100%;height:6px;margin-bottom:4px}
.minibar rect{fill:var(--teal)}
.bar-cell{min-width:120px}
.bar-cell strong{display:block;font-size:13px}
.code-row{display:flex;gap:8px;align-items:center}
.code-row input{flex:1}
.code-row button{flex:0 0 auto;white-space:nowrap}
