
.cesu-box{width:100%;margin:0;color:#34495e;font-size:.7rem}
.cesu-head{display:flex;align-items:center;gap:.6rem;padding:1rem 1.1rem;border-bottom:1px solid #f5f5f5}
.cesu-logo{width:2.3rem;height:2.3rem;border-radius:50%;background:linear-gradient(135deg,#ff6500,#ffb26b);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.15rem;box-shadow:0 4px 10px rgba(255,101,0,.25);flex-shrink:0}
.cesu-head .t{font-weight:700;font-size:.82rem;color:#34495e}
.cesu-head .s{font-size:.6rem;color:#999;margin-top:2px}
.cesu-st{margin-left:auto;font-size:.6rem;color:#999;background:#f6f7fa;border:1px solid #eee;border-radius:20px;padding:.25rem .7rem;display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}
.cesu-st i{width:.45rem;height:.45rem;border-radius:50%;background:#bbb;display:inline-block}
.cesu-st.on{color:#00b277;border-color:#a0e5c6;background:#f2fbf7}
.cesu-st.on i{background:#00b277;animation:cesuPulse 1.1s ease infinite}
@keyframes cesuPulse{0%,100%{box-shadow:0 0 0 0 rgba(0,178,119,.4)}50%{box-shadow:0 0 0 5px rgba(0,178,119,0)}}
.cesu-sec{margin-top:1.1rem}
.cesu-sec>h6{display:flex;align-items:center;gap:.4rem;font-size:.68rem;color:#34495e;font-weight:700;margin:0 0 .7rem}
.cesu-sec>h6::before{content:'';width:3px;height:.85rem;background:#ff6500;border-radius:2px;flex-shrink:0}
.cesu-sec>h6 .l{color:#ff6500;font-size:.75rem}
.cesu-set{background:#fafbfc;border:1px solid #f0f1f3;border-radius:8px;padding:.9rem 1rem}
.cesu-field{margin-bottom:.8rem}
.cesu-field:last-child{margin-bottom:0}
.cesu-field>label{display:block;font-size:.62rem;color:#8091a8;margin-bottom:.4rem}
.cesu-field .fd{display:flex;gap:.5rem;align-items:stretch}
.cesu-select,.cesu-input{height:2.5rem;border:1px solid #dfe1e5;border-radius:5px;font-size:.68rem;color:#34495e;background:#fff;outline:none;padding:0 .7rem;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.cesu-select{flex:1;min-width:0;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238091a8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .7rem center;padding-right:1.9rem}
.cesu-input{flex:1.2;min-width:0}
.cesu-select:focus,.cesu-input:focus{border-color:#ff6500;box-shadow:0 0 0 3px rgba(255,101,0,.12)}
.cesu-spin{display:inline-flex;align-items:center;border:1px solid #dfe1e5;border-radius:5px;background:#fff;overflow:hidden}
.cesu-spin button{width:2.1rem;height:2.5rem;border:none;background:#f6f7fa;color:#ff6500;font-size:.9rem;cursor:pointer;transition:background .15s;padding:0}
.cesu-spin button:hover{background:#fff0e6}
.cesu-spin input{width:3.2rem;height:2.5rem;border:none;border-left:1px solid #f0f1f3;border-right:1px solid #f0f1f3;text-align:center;font-size:.75rem;color:#34495e;background:#fff;-moz-appearance:textfield;outline:none}
.cesu-spin input::-webkit-outer-spin-button,.cesu-spin input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.cesu-switch{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;user-select:none;margin-left:auto}
.cesu-switch input{display:none}
.cesu-switch em{width:2.1rem;height:1.15rem;border-radius:1rem;background:#d6d9de;position:relative;transition:background .2s;flex-shrink:0}
.cesu-switch em::after{content:'';position:absolute;width:.9rem;height:.9rem;border-radius:50%;background:#fff;top:.13rem;left:.14rem;transition:left .2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.cesu-switch input:checked+em{background:#ff6500}
.cesu-switch input:checked+em::after{left:1.08rem}
.cesu-switch span{font-size:.62rem;color:#8091a8}
.cesu-setrow{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.cesu-do{display:block;width:100%;height:3rem;margin-top:1rem;border:none;border-radius:7px;background:linear-gradient(135deg,#ff6500,#ff8b3d);color:#fff;font-size:.8rem;font-weight:700;letter-spacing:4px;cursor:pointer;box-shadow:0 4px 12px rgba(255,101,0,.28);transition:transform .12s,box-shadow .2s,opacity .2s}
.cesu-do:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(255,101,0,.35)}
.cesu-do:active{transform:translateY(0)}
.cesu-do.stop{background:linear-gradient(135deg,#e74c3c,#ff6a5a);box-shadow:0 4px 12px rgba(231,76,60,.3)}
.cesu-do:disabled{opacity:.55;cursor:not-allowed;transform:none}
.cesu-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}
.cesu-card{background:#fff;border:1px solid #f0f1f3;border-radius:9px;padding:.85rem .9rem .75rem;position:relative;box-shadow:0 2px 7px rgba(146,146,146,.08)}
.cesu-card .ic{position:absolute;right:.8rem;top:.8rem;width:1.6rem;height:1.6rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;opacity:.9}
.cesu-card .nm{font-size:.62rem;color:#8091a8;margin-bottom:.5rem;padding-right:2rem}
.cesu-card .vl{font-size:1.45rem;font-weight:700;line-height:1.15;color:#34495e;word-break:break-all}
.cesu-card .vl small{font-size:.6rem;font-weight:400;color:#8091a8;margin-left:.15rem}
.cesu-card.c1 .vl{color:#00b277}.cesu-card.c1 .ic{background:#e7f7f0;color:#00b277}
.cesu-card.c2 .vl{color:#ff6500}.cesu-card.c2 .ic{background:#fff0e6;color:#ff6500}
.cesu-card.c3 .vl{color:#0066cc}.cesu-card.c3 .ic{background:#e8f0fa;color:#0066cc}
.cesu-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin-top:.8rem}
.cesu-metric{background:#fafbfc;border:1px solid #f0f1f3;border-radius:7px;padding:.55rem .7rem}
.cesu-metric .nm{font-size:.58rem;color:#8091a8;margin-bottom:.3rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cesu-metric .vl{font-size:.8rem;font-weight:600;color:#34495e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cesu-nodes{border:1px solid #f0f1f3;border-radius:8px;overflow:hidden}
.cesu-node{display:flex;align-items:center;gap:.6rem;padding:.6rem .9rem;border-bottom:1px solid #f5f5f5;flex-wrap:wrap}
.cesu-node:last-child{border-bottom:none}
.cesu-node .tag{font-size:.58rem;color:#fff;background:#0066cc;border-radius:3px;padding:.15rem .4rem;flex-shrink:0}
.cesu-node .tag.global{background:#00b277}
.cesu-node .ip{flex:1;min-width:120px;font-size:.66rem;color:#34495e;word-break:break-all}
.cesu-node .ip small{color:#999;margin-left:.3rem}
.cesu-node .ms{font-size:.68rem;font-weight:600;color:#0066cc;min-width:2.6rem;text-align:right}
.cesu-node .ms.good{color:#00b277}
.cesu-node .ms.bad{color:#e74c3c}
.cesu-hist{overflow-x:auto}
.cesu-hist table{width:100%;border-collapse:collapse;font-size:.62rem;color:#666}
.cesu-hist th{background:#f6f7fa;color:#8091a8;font-weight:600;padding:.5rem .6rem;text-align:left;border-bottom:1px solid #f0f1f3;white-space:nowrap}
.cesu-hist td{padding:.5rem .6rem;border-bottom:1px solid #f5f5f5;white-space:nowrap}
.cesu-hist tr:last-child td{border-bottom:none}
.cesu-hist .empty{text-align:center;color:#bbb;padding:1rem 0}
.cesu-hist-del{float:right;color:#e74c3c;cursor:pointer;border:1px solid #f0c4bf;background:#fdf1f0;border-radius:4px;font-size:.58rem;padding:.15rem .5rem}
.cesu-acts{display:flex;gap:.6rem;margin-top:1.1rem}
.cesu-acts button{flex:1;height:2.5rem;border-radius:6px;border:1px solid #dfe1e5;background:#fff;color:#34495e;font-size:.68rem;cursor:pointer;transition:all .15s}
.cesu-acts button:hover{border-color:#0066cc;color:#0066cc}
.cesu-acts button.primary{background:#00b277;border-color:#00b277;color:#fff}
.cesu-acts button.primary:hover{background:#00c983;color:#fff}
.cesu-progress{height:4px;background:#f0f1f3;border-radius:2px;margin-top:.8rem;overflow:hidden;display:none}
.cesu-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#00b277,#ff6500);transition:width .4s}
.cesu-intro{margin-top:1.1rem}
.cesu-intro .tip{font-size:.6rem;color:#999;line-height:1.7;margin-bottom:.6rem;background:#f6f7fa;border:1px solid #f0f1f3;border-radius:8px;padding:.6rem .8rem}
.cesu-intro .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem}
.cesu-intro .it{display:flex;gap:.55rem;align-items:flex-start;background:#fafbfc;border:1px solid #f0f1f3;border-radius:8px;padding:.6rem .7rem}
.cesu-intro .it .ico{width:1.5rem;height:1.5rem;border-radius:50%;background:linear-gradient(135deg,#ff6500,#ffb26b);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0;margin-top:2px}
.cesu-intro .it .t{font-size:.65rem;font-weight:600;color:#34495e}
.cesu-intro .it .d{font-size:.58rem;color:#999;line-height:1.6;margin-top:2px}
@media(max-width:600px){.cesu-intro .grid{grid-template-columns:1fr}}
.night .cesu-intro .tip{background:#242627;border-color:#333;color:#7b8794}
.night .cesu-intro .it{background:#1d2023;border-color:#333}
.night .cesu-intro .it .t{color:#e8eaed}
.night .cesu-intro .it .d{color:#7b8794}
.night .cesu-box{color:#c6c8ca}
.night .cesu-head{border-bottom-color:#333}
.night .cesu-head .t{color:#eee}
.night .cesu-head .s{color:#888}
.night .cesu-st{background:#242627;border-color:#444;color:#888}
.night .cesu-st.on{color:#4ade9b;border-color:#235c45;background:#1a2b24}
.night .cesu-sec>h6{color:#ddd}
.night .cesu-set{background:#1a1d21;border-color:#333}
.night .cesu-field>label{color:#9aa3af}
.night .cesu-select,.night .cesu-input,.night .cesu-spin input{background:#181a1b;border-color:#444;color:#c6c8ca}
.night .cesu-select:focus,.night .cesu-input:focus{border-color:#ff6500;box-shadow:0 0 0 3px rgba(255,101,0,.18)}
.night .cesu-spin{background:#181a1b;border-color:#444}
.night .cesu-spin button{background:#242627;color:#ff9a5a}
.night .cesu-spin button:hover{background:#333}
.night .cesu-spin input{border-color:#333;background:#181a1b;color:#c6c8ca}
.night .cesu-switch em{background:#3a3f44}
.night .cesu-switch span{color:#9aa3af}
.night .cesu-card{background:#1a1d21;border-color:#333;box-shadow:none}
.night .cesu-card .nm{color:#9aa3af}
.night .cesu-card .vl{color:#d5d8dc}
.night .cesu-card.c1 .vl{color:#4ade9b}.night .cesu-card.c1 .ic{background:#1b2f27;color:#4ade9b}
.night .cesu-card.c2 .vl{color:#ff9a5a}.night .cesu-card.c2 .ic{background:#332519;color:#ff9a5a}
.night .cesu-card.c3 .vl{color:#7aa5ff}.night .cesu-card.c3 .ic{background:#1e2a3d;color:#7aa5ff}
.night .cesu-metric{background:#1a1d21;border-color:#333}
.night .cesu-metric .nm{color:#9aa3af}
.night .cesu-metric .vl{color:#d5d8dc}
.night .cesu-nodes{border-color:#333}
.night .cesu-node{border-bottom-color:#2a2d31}
.night .cesu-node .ip{color:#c6c8ca}
.night .cesu-node .ip small{color:#888}
.night .cesu-hist th{background:#242627;color:#9aa3af;border-color:#333}
.night .cesu-hist td{border-color:#2a2d31;color:#bbb}
.night .cesu-hist .empty{color:#666}
.night .cesu-hist-del{background:#2a1a1a;border-color:#553333;color:#ff7b6b}
.night .cesu-acts button{background:#1a1d21;border-color:#444;color:#c6c8ca}
.night .cesu-acts button:hover{border-color:#0066cc;color:#7aa5ff}
.night .cesu-acts button.primary{background:#00b277;border-color:#00b277;color:#fff}
.night .cesu-acts button.primary:hover{background:#00c983}
.night .cesu-progress{background:#2a2d31}
@media(max-width:886px){.cesu-metrics{grid-template-columns:repeat(2,1fr)}.cesu-cards{gap:.6rem}.cesu-card .vl{font-size:1.2rem}}
@media(max-width:600px){.cesu-cards{grid-template-columns:1fr}.cesu-head{padding:.8rem .9rem}.cesu-set{padding:.7rem}.cesu-field .fd{flex-wrap:wrap}.cesu-spin{margin-left:auto}}
