:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#243830;background:#f6f7f5;font-size:14px;--green:#17644c;--muted:#7a8780;--line:#e5eae6}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;transition:background .15s,transform .15s}button:active{transform:translateY(1px)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a3cbbb;outline-offset:2px}button{border:0;border-radius:8px;padding:11px 17px}.primary{background:var(--green);color:#fff;font-weight:600}.primary:hover{background:#10503b}.secondary{border:1px solid #dce3de;background:#fff;color:#34493e}.ghost{background:transparent;color:#60736a}.text-button{background:transparent;padding:6px;color:var(--green);font-weight:600;white-space:nowrap}h1,h2,p{margin:0}h1{font-size:31px;line-height:1.4;font-weight:650;letter-spacing:-.8px}h2{font-size:17px;font-weight:650}p{line-height:1.7}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px;color:#81938a;font-weight:600;margin-bottom:12px}.brand{font-size:21px;font-weight:650;display:flex;align-items:center;gap:10px;letter-spacing:.1px}.brand-mark{width:32px;height:32px;border-radius:9px;background:var(--green);display:inline-grid;place-items:center;color:#fff;font-size:24px}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:32px 22px;background:#fff;display:flex;flex-direction:column}.sidebar-caption{font-size:10px;letter-spacing:1px;color:#9aa59e;margin:48px 10px 15px}.nav{display:flex;gap:12px;width:100%;text-align:left;background:none;color:#748178;margin:4px 0;padding:13px 16px;font-weight:550}.nav span{width:18px;font-size:17px}.nav.active{color:var(--green);background:#eaf3ed}.sidebar-bottom{margin-top:auto}.time-zone{font-size:11px;color:#5f7668;line-height:1.8;padding:16px 10px;border-top:1px solid var(--line)}.time-zone>span:last-child{display:block;padding-left:12px;font-size:10px;color:#9aa69e}.dot{display:inline-block;width:6px;height:6px;background:#45a77d;border-radius:50%;margin-right:6px}.sidebar-bottom .ghost{font-size:12px}main{margin-left:226px}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;background:#fff;font-size:11px;color:#839087}.topbar>div{display:flex;align-items:center;gap:9px}.user-avatar{background:#e7efe9;width:26px;height:26px;border-radius:50%;display:inline-grid;place-items:center;font-size:11px;color:#557964}.page{padding:42px 44px 30px;max-width:1450px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-head p{margin-top:7px;font-size:13px}.page-head>.secondary{font-size:12px}.schedule-banner{background:#e9f0e8;border:1px solid #dce8da;display:flex;align-items:center;justify-content:space-between;border-radius:13px;padding:30px 34px;position:relative;overflow:hidden}.schedule-banner:after{content:"";width:220px;height:220px;border:1px solid #cedfce;border-radius:50%;position:absolute;right:105px;top:-90px;pointer-events:none}.banner-label{font-size:10px;letter-spacing:1.8px;color:#749078}.schedule-banner h2{font-size:32px;letter-spacing:-1px;margin:14px 0 8px;font-weight:500}.schedule-banner p{font-size:12px;color:#7a8c7b}.schedule-clock{text-align:right;z-index:1}.schedule-clock strong{display:block;font-size:46px;letter-spacing:-2px;font-weight:450;color:#456e50}.schedule-clock span{font-size:11px;color:#7b927e}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0 38px}.metrics article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px}.metrics article>span{display:block;font-size:12px;color:#829087}.metrics strong{display:block;font-size:29px;font-weight:500;margin:10px 0;color:#344e3e}.metrics strong.good{color:var(--green)}.metrics strong.attention{color:#b87722}.metrics small{font-size:10px;color:#a0aaa3}.section-title{display:flex;justify-content:space-between;align-items:center;margin:27px 0 15px}.section-title h2{font-size:16px}.section-title p{font-size:11px;margin-top:6px}.panel{border:1px solid var(--line);border-radius:11px;background:white;overflow:hidden}.empty{padding:44px 20px;text-align:center;color:#9aa59e;font-size:13px}.empty-icon{display:block;font-size:25px;color:#b5c7ba;margin-bottom:10px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;font-size:10px;letter-spacing:.5px;color:#9aa59e;background:#fafbf9;font-weight:500}td,th{padding:16px 20px;border-bottom:1px solid #eef1ed}tr:last-child td{border-bottom:0}.sub{display:block;font-size:10px;color:#9fa9a2;margin-top:5px}.pill{display:inline-flex;padding:5px 9px;border-radius:5px;background:#f0f3ef;color:#7b8c7f;font-size:10px;white-space:nowrap}.pill.sent,.pill.success{background:#eaf4ed;color:#377752}.pill.uncertain,.pill.failed{background:#fff2dd;color:#a87930}.pill.pending,.pill.checking,.pill.sending{background:#edf1f9;color:#657da8}.activity{padding:4px 22px}.activity-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #eef1ed;font-size:12px}.activity-row:last-child{border:0}.activity-row time{margin-left:auto;font-size:10px;color:#9aa59e;white-space:nowrap}.activity-icon{width:24px;height:24px;border-radius:6px;background:#eff5ef;color:#6f967a;display:grid;place-items:center}.notice{padding:14px 18px;border:1px solid #e6e1cb;background:#faf8ed;color:#8e8353;font-size:12px;border-radius:8px;margin:18px 0;line-height:1.8}.settings-panel{padding:24px;margin-bottom:20px}.setting-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.setting-heading h2{display:inline-block}.setting-heading p{font-size:12px;margin-top:7px}.fixed-rule{background:#f6f8f4;padding:14px;border-radius:7px;font-size:12px;color:#7c8e7b;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.fixed-rule strong{color:#5c7b5f;font-weight:550}.switch-label{display:flex;align-items:center;gap:8px;font-size:12px!important;white-space:nowrap}.switch-label input{accent-color:var(--green);width:18px;height:18px}
.switch-label:has(.field-help){flex-wrap:wrap;white-space:normal}.switch-label .field-help{flex-basis:100%;margin-top:0}.save-indicator{font-size:11px;color:#87958c}.classes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.classes>.panel{min-width:0}.class-tag{display:inline-grid;place-items:center;background:#eaf2e8;color:#638b60;border-radius:5px;width:25px;height:25px;margin-right:10px;font-size:12px}.class-tag.blue{background:#eef1f9;color:#748eb6}label{display:block;font-size:12px;font-weight:550;color:#607366;margin:14px 0}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #dce4dc;border-radius:7px;background:#fff;padding:11px 12px;color:#314e3a;margin-top:8px;font-weight:400;font-size:13px}input::placeholder,textarea::placeholder{color:#a1ada5;font-size:12px}textarea{resize:vertical;line-height:1.8;min-height:160px}.group-row{border:1px solid #e8ede6;padding:12px;border-radius:8px;margin-bottom:10px;background:#fcfdfb}.group-row>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#9aa99b}.group-row label{margin:8px 0}.group-row label input{margin-top:5px}.remove-group{padding:4px 7px;font-size:11px;color:#ae8177;background:transparent}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.button-row button{font-size:12px}.result-box{padding:14px;background:#f6f8f5;border-radius:7px;margin-top:16px;font-size:12px;line-height:1.9}.result-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}.result-row+.result-row{border-top:1px solid var(--line)}summary{font-size:14px;font-weight:600;cursor:pointer}.advanced-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 20px;margin:15px 0}.save-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;position:sticky;bottom:12px;background:#ffffffed;padding:15px;border:1px solid var(--line);border-radius:10px;box-shadow:0 4px 25px #244b3510}.save-bar .form-error{margin-right:auto}.form-error{color:#a45f50;font-size:12px;line-height:1.7}.filter-label{min-width:140px;margin:0}.filter-label select{margin-top:5px}.narrow{max-width:550px}.narrow h2{margin-bottom:20px}.narrow .primary{margin-top:15px}footer{padding:28px 44px;color:#a3afa6;font-size:10px;text-align:center}footer span{margin:0 9px}dialog{border:1px solid var(--line);border-radius:14px;padding:27px;max-width:640px;width:calc(100% - 32px);max-height:85vh;color:#344e3c;box-shadow:0 20px 100px #12351d33}dialog::backdrop{background:#1d342650;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}dialog p{font-size:12px;margin:10px 0 20px}.preview-card{border:1px solid var(--line);padding:18px;border-radius:9px;margin-top:15px}.preview-card pre{white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:13px;line-height:1.9;margin-bottom:0;color:#4c6351}.preview-card h3{font-size:13px;margin:0 0 8px}.ack{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.7}.ack input{accent-color:var(--green);margin-top:4px}#toast{position:fixed;right:24px;top:22px;background:#245b40;color:#fff;padding:13px 22px;border-radius:9px;z-index:100;box-shadow:0 8px 30px #12351d30;font-size:13px;max-width:calc(100vw - 48px)}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;max-width:1150px;margin:auto;padding:50px;gap:85px}.auth-intro .brand{margin-bottom:100px}.auth-intro h1{font-size:40px;line-height:1.55;letter-spacing:-1px}.auth-intro p{margin-top:22px;color:#7f9183;font-size:13px;line-height:2}.auth-rule{margin-top:55px;color:#91a18f;font-size:11px}.auth-card{padding:38px;border:1px solid var(--line);background:#fff;border-radius:15px;box-shadow:0 20px 70px #34513908}.auth-card h2{font-size:23px}.auth-card>p.muted{font-size:12px;margin:12px 0 28px}.auth-card label{margin:20px 0}.auth-card .primary{width:100%;margin-top:16px}.auth-card .small{margin-top:22px;overflow-wrap:anywhere}code{font-size:11px;line-height:2}.good-text{color:#3f8357}.bad-text{color:#b57c3f}
@media(min-width:1550px){.page{padding-top:52px}.schedule-banner{padding:38px}.metrics article{padding:27px}}@media(max-width:1050px){.sidebar{width:190px;padding:28px 15px}main{margin-left:190px}.page{padding:30px 25px}.topbar{padding:0 25px}.classes{grid-template-columns:1fr}.metrics{gap:10px}.metrics article{padding:15px}h1{font-size:27px}.auth-wrap{gap:40px;padding:35px}.auth-intro h1{font-size:32px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:17px 20px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:18px}.sidebar nav{display:flex;gap:5px;margin-top:18px;overflow-x:auto}.nav{padding:10px;font-size:12px;white-space:nowrap;justify-content:center;margin:0}.nav span{display:none}.sidebar-caption,.sidebar-bottom{display:none}main{margin-left:0}.topbar{height:50px;padding:0 20px}.page{padding:26px 20px}.page-head{align-items:flex-start;gap:12px}.page-head>.secondary{padding:9px;white-space:nowrap}.page-head .save-indicator{display:none}h1{font-size:23px}.eyebrow{font-size:8px;letter-spacing:1.5px}.schedule-banner{padding:22px}.schedule-banner h2{font-size:26px}.schedule-banner p{font-size:10px;max-width:180px}.banner-label{font-size:8px;letter-spacing:1px}.schedule-clock strong{font-size:34px}.schedule-clock span{font-size:9px}.metrics{grid-template-columns:repeat(2,1fr);margin:18px 0 28px}.metrics strong{font-size:25px}.settings-panel{padding:20px}.setting-heading{align-items:flex-start}.setting-heading p{max-width:240px}.advanced-grid{grid-template-columns:1fr 1fr;gap:0 12px}.save-bar{padding:12px;flex-wrap:wrap}.save-bar .form-error{width:100%}.auth-wrap{grid-template-columns:1fr;gap:35px;padding:35px 22px;max-width:540px}.auth-intro .brand{margin-bottom:32px}.auth-intro h1{font-size:29px}.auth-intro p,.auth-rule,.auth-intro .eyebrow{display:none}.auth-card{padding:27px}.activity-row time{max-width:95px;text-align:right;line-height:1.6}.section-title p{font-size:10px}.filter-label{min-width:110px}footer{padding:25px 20px;font-size:9px}td,th{padding:14px 15px}}

/* v3：多机器人、向导与表单 */
a.nav,a.text-button,a.link-button,a.tab{text-decoration:none;display:inline-flex;align-items:center}a.nav{display:flex;border-radius:8px}
.metric-text{font-size:17px!important;line-height:1.75}.head-actions{display:flex;align-items:center;gap:12px}
.bot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.bot-grid>.empty{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:11px}
.bot-card{display:block;background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}.bot-card:hover{border-color:#b9d3c5;box-shadow:0 4px 18px #244b3510}.bot-card:focus-visible{outline:3px solid #a3cbbb;outline-offset:2px}.bot-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.bot-card-head strong{font-size:15px;font-weight:650;min-width:0;overflow-wrap:anywhere}.bot-card-body{display:flex;flex-direction:column;gap:6px;line-height:1.6}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow-x:auto;overflow-y:hidden}.tab{padding:11px 16px;color:#748178;font-weight:550;font-size:13px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}.tab.active{color:var(--green);border-bottom-color:var(--green)}
.guide-progress{background:#fff;border:1px solid var(--line);border-radius:11px;padding:18px 22px;margin-bottom:18px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.guide-progress strong{font-size:14px;font-weight:600}.progress-track{flex:1;min-width:160px;height:8px;border-radius:4px;background:#edf1ed;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--green);border-radius:4px;transition:width .2s}
.guide-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.guide-step{background:#fff;border:1px solid var(--line);border-radius:11px;padding:18px 22px}.guide-step.current{border-color:#8fbfa8;box-shadow:0 0 0 3px #eaf3ed}.guide-head{display:flex;align-items:center;gap:12px}.guide-mark{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid #cfd9d2;display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff}.guide-step.done .guide-mark{background:var(--green);border-color:var(--green)}.guide-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.guide-title strong{font-size:14px;font-weight:600}.guide-status{margin-left:auto;font-size:12px;color:#829087;text-align:right}.guide-step.done .guide-status{color:#377752}.guide-body{margin:12px 0 0 34px}.guide-body ul{margin:0;padding-left:18px;line-height:1.9;font-size:13px;color:#4c6351}.guide-note{margin-top:10px;font-size:12px;line-height:1.8;color:#8e8353;background:#faf8ed;border:1px solid #e6e1cb;border-radius:7px;padding:9px 12px}.guide-step.done .guide-body ul{color:#7a8780}
.link-button{border:1px solid #dce3de;background:#fff;color:#34493e;border-radius:8px;padding:11px 17px;font-size:12px}.link-button:hover{background:#f6f8f5}
.help-section ul{margin:12px 0 0;padding-left:18px;line-height:1.9;font-size:13px;color:#4c6351}.help-section .table-wrap{margin-top:14px;border:1px solid var(--line);border-radius:8px}.help-section table{white-space:normal}.help-section td{padding:10px 14px}.help-section td:first-child{white-space:nowrap}.help-section code{display:inline-block;font-size:12px;background:#f0f3ef;padding:3px 7px;border-radius:4px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin-top:6px}.field-help{display:block;margin-top:7px;font-size:11px;font-weight:400;color:#8c9a91;line-height:1.7}.field-label{font-size:12px;font-weight:550;color:#607366;margin:14px 0 8px}
.list-items{display:flex;flex-direction:column;gap:14px}.list-item{border:1px solid #e8ede6;border-radius:9px;padding:16px;background:#fcfdfb}.list-item-bar{display:flex;justify-content:space-between;align-items:center}
.cron-field{margin:14px 0;display:grid;grid-template-columns:1fr 200px;gap:0 12px;align-items:end}.cron-field label{margin:0}.cron-field input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.cron-preview{grid-column:1/-1;background:#f6f8f4;border-radius:7px;padding:11px 13px;margin-top:9px;font-size:12px;line-height:1.8;display:flex;flex-direction:column;gap:2px;min-height:44px}.cron-preview strong{color:#2f6a51;font-weight:600}.cron-runs{display:flex;flex-wrap:wrap;gap:4px 16px;color:#607366}
.chat-rows{display:flex;flex-direction:column;gap:8px}.chat-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:8px;align-items:center}.chat-row input{margin-top:0!important}
.danger-row{margin:-6px 0 18px;text-align:right}.danger{color:#a45f50!important}.result-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px}
.type-choices{display:flex;flex-direction:column;gap:8px}.type-choice{display:flex;gap:10px;align-items:flex-start;border:1px solid #e0e6e1;border-radius:8px;padding:12px 14px;margin:0;cursor:pointer}.type-choice:has(input:checked){border-color:var(--green);background:#f3f8f5}.type-choice input{accent-color:var(--green);margin-top:3px!important;width:auto!important;flex:none}.type-choice strong{display:block;font-size:13px;font-weight:600;color:#34493e}.type-choice small{display:block;margin-top:3px;font-weight:400;color:#7a8780;line-height:1.6}
@media(max-width:760px){.field-grid,.cron-field{grid-template-columns:1fr}.cron-presets{margin-top:0}.guide-step{padding:15px}.guide-head{flex-wrap:wrap}.guide-status{margin-left:34px;width:100%;text-align:left}.guide-body{margin-left:0}.chat-row{grid-template-columns:1fr 1fr}.chat-row button{grid-column:1/-1;justify-self:end}.head-actions{flex-direction:column;align-items:flex-end;gap:6px}.result-row{flex-wrap:wrap}.result-actions{justify-content:flex-start}.bot-grid{grid-template-columns:1fr}.help-section td:first-child{white-space:normal}}
