*{box-sizing:border-box}
body.nv-page{margin:0;min-height:100vh;background:#12141a;color:#e2e8f0;font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;padding:28px 16px 70px}
a{color:#a5b4fc;text-decoration:none}
a:hover{color:#c7d2fe}
.nv-wrap{width:100%;max-width:760px;margin:0 auto}
.nv-card{background:#1e222c;border:1px solid #343a4a;border-radius:14px;padding:22px;margin:0 0 16px}
.nv-center{text-align:center;max-width:560px;margin:80px auto;padding:32px 22px}
.nv-center h1{font-size:20px;margin:6px 0 10px}
.nv-center p{margin:8px 0;color:#94a3b8;word-break:break-word}
.nv-badge{display:inline-block;font-size:11px;letter-spacing:.12em;color:#a5b4fc;border:1px solid rgba(165,180,252,.35);border-radius:999px;padding:4px 12px}
.nv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;border:1px solid #6366f1;background:#6366f1;color:#fff;font-size:14px;cursor:pointer;font-family:inherit}
.nv-btn:hover{background:#4f46e5;color:#fff}
.nv-btn.ghost{background:transparent;color:#a5b4fc;border-color:#4c5270}
.nv-btn.small{min-height:32px;padding:0 12px;font-size:12px}
.nv-btn.danger{background:#b91c1c;border-color:#b91c1c}
.nv-title{font-size:18px;margin:0 0 4px;font-weight:700}
.nv-sub{margin:0 0 18px;color:#94a3b8;font-size:13px}
.nv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nv-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nv-field{display:block;margin:0 0 14px}
.nv-field span{display:block;font-size:12px;color:#94a3b8;margin-bottom:6px}
.nv-field input,.nv-field select,.nv-field textarea{width:100%;height:46px;padding:0 14px;border-radius:12px;border:1px solid #3a4157;background:#111620;color:#e2e8f0;font:14px/1.4 inherit;outline:none}
.nv-field textarea{height:auto;min-height:88px;padding:10px 12px;resize:vertical}
.nv-field input:focus,.nv-field select:focus,.nv-field textarea:focus{border-color:#6366f1}
.nv-hint{font-size:12px;color:#64748b;margin:10px 0 0;line-height:1.7}
.nv-alert{border-radius:10px;padding:10px 12px;margin:0 0 14px;font-size:13px;border:1px solid #3a4157;background:#151922;color:#cbd5e1}
.nv-alert.ok{border-color:#14532d;background:#0f2418;color:#86efac}
.nv-alert.bad{border-color:#7f1d1d;background:#2a1113;color:#fca5a5}
.nv-code-tip{display:flex;align-items:center;gap:9px;margin-top:10px;padding:9px 11px;border:1px solid #2f7f64;border-radius:10px;background:#14251f;color:#d1fae5;box-shadow:0 10px 26px rgba(0,0,0,.28);animation:nv-code-tip-in .2s ease-out}
.nv-code-tip.bad{border-color:#7f2f2f;background:#261818;color:#fecaca}
.nv-code-tip-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#22c55e;color:#08130d;font-size:12px;font-weight:800;flex:none}
.nv-code-tip.bad .nv-code-tip-icon{background:#ef4444;color:#fff}
.nv-code-tip-text{font-size:13px;line-height:1.6;flex:1;min-width:0;word-break:break-word}
.nv-code-tip-close{border:0;background:transparent;color:#94a3b8;font-size:18px;line-height:1;padding:0 2px;cursor:pointer;flex:none}
@keyframes nv-code-tip-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.nv-msg-modal{position:fixed;inset:0;z-index:210;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(8,12,20,.62);backdrop-filter:blur(3px)}
.nv-msg-dialog{width:min(420px,100%);padding:22px;border:1px solid #3a4157;border-radius:16px;background:#1e222c;box-shadow:0 24px 60px -20px rgba(0,0,0,.65);animation:nv-msg-in .18s ease-out}
.nv-msg-dialog h3{margin:0 0 10px;font-size:18px;color:#e2e8f0}
.nv-msg-dialog.ok h3{color:#86efac}
.nv-msg-dialog.bad h3{color:#fca5a5}
.nv-msg-dialog p{margin:0;color:#cbd5e1;font-size:13.5px;line-height:1.8}
.nv-msg-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
@keyframes nv-msg-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:640px){.nv-msg-dialog{padding:18px}.nv-msg-actions .nv-btn{width:100%}}
.nv-table{width:100%;border-collapse:collapse;font-size:13px}
.nv-table th,.nv-table td{text-align:left;padding:10px 8px;border-bottom:1px solid #2b3140;vertical-align:top;word-break:break-word}
.nv-table th{color:#94a3b8;font-weight:500;font-size:12px}
.nv-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nv-muted{color:#94a3b8}
.nv-mono{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px}
.nv-price{font-size:22px;font-weight:700;color:#f8fafc}
.nv-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
.nv-plan{border:1px solid #3a4157;border-radius:12px;padding:14px;background:#191d27;cursor:pointer}
.nv-plan input{display:none}
.nv-plan.active{border-color:#6366f1;background:#20233a}
.nv-plan small{display:block;color:#94a3b8;margin-top:4px}
.nv-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.nv-tabs a{padding:8px 12px;border:1px solid #3a4157;border-radius:999px;font-size:13px;color:#cbd5e1}
.nv-tabs a.on{background:#6366f1;border-color:#6366f1;color:#fff}
.nv-foot{text-align:center;color:#64748b;font-size:12px;margin-top:30px}
.nv-code{background:#0b0e14;border:1px dashed #3a4157;border-radius:8px;padding:8px 10px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.nv-list{margin:0;padding-left:18px;color:#94a3b8;font-size:13px}
.nv-list li{margin:4px 0}
@media(max-width:640px){
body.nv-page{padding:16px 12px 60px}
.nv-card{padding:16px;border-radius:12px}
.nv-grid,.nv-grid-3,.nv-plans{grid-template-columns:1fr}
.nv-center{margin:40px auto;padding:24px 16px}
.nv-title{font-size:16px}
.nv-btn{width:100%}
.nv-row .nv-btn{width:auto}
.nv-field input,.nv-field select,.nv-field textarea,.nv-input{font-size:16px}
.nv-table{display:block;overflow-x:auto;white-space:normal}
.nv-code{font-size:12px}
.nv-modal-box{max-height:85vh;overflow:auto}
}
.nv-input-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nv-input-row .nv-input{flex:1;min-width:0}
.nv-input-row .nv-btn{width:auto;flex:none}
.nv-input{display:block;width:100%;height:46px;padding:0 14px;border-radius:12px;border:1px solid #3a4157;background:#111620;color:#e2e8f0;font:14px/1.4 inherit;outline:none;appearance:none;-webkit-appearance:none;transition:border-color .15s ease,box-shadow .15s ease}
.nv-input::placeholder{color:#64748b;opacity:1}
.nv-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.14)}
.nv-plan-state{margin:0}
.nv-plan-state small{display:block;color:#94a3b8;font-size:12px;margin-top:2px}
.nv-plan-state a{display:inline-block;margin-top:4px;font-size:12px}
.nv-form-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.nv-form-actions .nv-btn{flex:1 1 0;width:auto;min-width:0}
.nv-invite-box{display:flex;align-items:stretch;gap:10px;margin:14px 0}
.nv-invite-url{flex:1 1 auto;min-width:0;min-height:46px;display:flex;align-items:center;padding:10px 12px;border:1px solid #3a4157;border-radius:12px;background:#111620;color:#cbd5e1;font:12.5px/1.6 ui-monospace,Menlo,Consolas,monospace;word-break:break-all;overflow-wrap:anywhere}
.nv-invite-box .nv-btn{flex:0 0 auto;width:auto;align-self:center}
@media(max-width:640px){.nv-invite-box{flex-direction:column}.nv-invite-box .nv-btn{align-self:flex-end;width:auto}.nv-invite-url{width:100%;font-size:12px}}
.nv-note{border:1px solid #2b3140;background:#151922;border-radius:10px;padding:9px 12px;font-size:12px;color:#cbd5e1;margin:10px 0}
.nv-edit-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid #2b3140}
.nv-edit-actions form{display:flex;align-items:center}
.nv-batch{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #2b3140;flex-wrap:wrap}
.nv-batch:last-child{border-bottom:0}
.nv-batch-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.nv-batch-actions .nv-btn{width:auto}
.nv-checks{display:flex;gap:18px;flex-wrap:wrap;margin:0 0 8px}
.nv-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#cbd5e1;cursor:pointer}
.nv-check input{width:16px;height:16px;margin:0}
.nv-actions{display:flex;gap:8px;flex-wrap:wrap}
.nv-field small{display:block;margin-top:6px;color:#94a3b8;font-size:12px;line-height:1.6}
.nv-card,.nv-alert,.nv-sub,.nv-hint,.nv-note,.nv-notice-text,.nv-modal-text,.nv-mono,.nv-table td{overflow-wrap:anywhere;word-break:break-word}
.nv-card h3{font-size:15px;line-height:1.5;margin:14px 0 8px;font-weight:600;color:#cbd5e1}
.nv-field input[readonly]{opacity:.72;cursor:default}
.nv-btn:disabled{opacity:.6;cursor:not-allowed}
.nv-card form + .nv-hint{margin-top:12px}
.nv-notice-card{border-left:3px solid #6366f1;background:#1b2030}
.nv-notice-text{color:#cbd5e1;font-size:14px;line-height:1.8;white-space:normal}
.nv-cs-fab{position:fixed;right:20px;bottom:24px;z-index:80;width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;box-shadow:0 10px 26px rgba(37,99,235,.35);border:1px solid rgba(255,255,255,.18);text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.nv-cs-fab:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(37,99,235,.45);color:#fff}
.nv-cs-fab svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nv-cs-fab svg circle{fill:#fff;stroke:none}
.nv-modal{display:none;position:fixed;inset:0;z-index:120;background:rgba(7,10,18,.7);align-items:center;justify-content:center;padding:20px}
.nv-modal-box{width:100%;max-width:440px;background:#1e222c;border:1px solid #3a4157;border-radius:16px;padding:22px;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.nv-modal-box .nv-title{margin-bottom:10px}
.nv-modal-text{color:#cbd5e1;font-size:14px;line-height:1.8;max-height:55vh;overflow:auto;margin-bottom:16px;white-space:normal}
.nv-modal-box .nv-btn{width:100%}
@media(max-width:640px){
.nv-input-row{flex-direction:row;align-items:center;flex-wrap:wrap}
.nv-input-row .nv-input{flex:1 1 0;min-width:0}
.nv-input-row .nv-btn{width:auto;flex:none}
.nv-edit-actions{flex-direction:column;align-items:stretch}
.nv-edit-actions form{display:block}
.nv-edit-actions form .nv-btn{width:100%}
.nv-batch-actions{width:100%}
.nv-batch-actions .nv-btn{width:100%}
.nv-checks{flex-direction:column;gap:10px}
.nv-cs-fab{right:14px;bottom:18px;width:50px;height:50px}
.nv-modal-box{padding:18px}
}
.nv-account-head .nv-grid-3{gap:14px;margin-top:0}
.nv-site-url-inline{display:block;margin-top:4px;line-height:1.5}
.nv-site-url-inline a{color:#a5b4fc;text-decoration:none;overflow-wrap:anywhere;word-break:break-all}
.nv-site-url-inline a:hover{text-decoration:underline}
.nv-account-page-head{position:relative;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;margin:2px 0 16px;padding:2px 2px 12px;border-bottom:1px solid #2a3040}
.nv-account-page-head .nv-title{flex:1 1 auto;min-width:0;font-size:24px;line-height:1.25;margin:0;white-space:nowrap;letter-spacing:.02em}
.nv-account-page-head .nv-btn{flex:0 0 auto;width:auto;white-space:nowrap}
.nv-account-page-head:after{content:'';position:absolute;left:2px;bottom:-1px;width:56px;height:2px;border-radius:2px;background:linear-gradient(90deg,#6366f1,transparent)}
.nv-stat-label{display:block;font-size:12px;line-height:1.4;letter-spacing:.04em}
.nv-stat-label.ok{color:#86efac}
.nv-stat-label.warn{color:#fcd34d}
.nv-stat-label.bad{color:#fca5a5}
.nv-stat-label.trial{color:#93c5fd}
.nv-stat-label.month{color:#c4b5fd}
.nv-stat-label.quarter{color:#fda4af}
.nv-stat-label.year{color:#fcd34d}
.nv-state-text{position:relative;padding-left:13px;margin:4px 0 0;font-size:15px;line-height:1.5;font-weight:700}
.nv-state-text:before{content:'';position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(255,255,255,.04)}
.nv-state-text.ok{color:#4ade80}
.nv-state-text.warn{color:#fbbf24}
.nv-state-text.bad{color:#f87171}
.nv-state-text.trial{color:#60a5fa}
.nv-state-text.month{color:#a78bfa}
.nv-state-text.quarter{color:#fb7185}
.nv-state-text.year{color:#fbbf24}
.nv-plan-state.nv-state-text small{color:#94a3b8;font-weight:400}
@media(max-width:640px){.nv-account-page-head{margin:2px 0 12px;padding-bottom:11px}.nv-account-page-head .nv-title{font-size:21px}.nv-account-page-head .nv-btn{width:auto;padding:7px 12px;font-size:12px}.nv-state-text{font-size:14px}}
.nv-account-actions{margin-top:14px;padding-top:14px;border-top:1px solid #2b3140}
.nv-notice-card{padding:16px 18px}
.nv-notice-card .nv-title{font-size:15px;margin-bottom:8px}
.nv-notice-text{font-size:13px;line-height:1.75}
.nv-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
.nv-tabs::-webkit-scrollbar{display:none}
.nv-tabs a{white-space:nowrap;flex:none}
.nv-card form h3.nv-title{border-top:1px solid #2b3140;padding-top:14px;margin-top:18px!important}
.nv-input-row .nv-input{flex:1 1 240px;min-width:0;height:42px;padding:0 12px;border:1px solid #3a4157;border-radius:10px;background:#151922;color:#e2e8f0;font-size:14px}
.nv-input-row .nv-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.14)}
@media(max-width:640px){
.nv-account-actions .nv-btn{flex:1 1 calc(50% - 6px)}
.nv-input-row .nv-input{flex:1 1 100%;font-size:16px}
}
.nv-admin-head{padding:18px 20px}
.nv-admin-head .nv-tabs{margin-bottom:0}
@media(max-width:640px){.nv-admin-head{padding:16px}.nv-admin-head .nv-tabs{margin-left:-2px;margin-right:-2px}}
.nv-plan{position:relative;overflow:hidden;transition:border-color .18s,box-shadow .18s,transform .18s}
.nv-plan::before{content:"";position:absolute;right:-32px;bottom:-36px;width:96px;height:96px;background:radial-gradient(circle,var(--plan-accent,#94a3b8),transparent 68%);opacity:.16;pointer-events:none}
.nv-plan strong{display:block;font-size:14px;letter-spacing:.06em}
.nv-plan .nv-price{font-size:26px;line-height:1.15;margin:6px 0 2px;font-weight:800}
.nv-plan small{font-size:11px}
.nv-plan-month{--plan-accent:#9db8e8;border-color:#3d5a8a;background:linear-gradient(145deg,#1c2638,#171c28)}
.nv-plan-quarter{--plan-accent:#6ee7b7;border-color:#2f7f64;background:linear-gradient(145deg,#162a25,#171c22)}
.nv-plan-year{--plan-accent:#f2d27d;border-color:#9c7a2e;background:linear-gradient(145deg,#2b2518,#1d1a14)}
.nv-plan strong,.nv-plan .nv-price{color:var(--plan-accent,#e2e8f0)}
.nv-plan.active{border-color:var(--plan-accent,#6366f1);box-shadow:0 0 0 1px var(--plan-accent,#6366f1),0 10px 24px rgba(0,0,0,.32);transform:translateY(-1px)}
.nv-plan-badge{position:absolute;top:0;right:0;padding:3px 10px;border-radius:0 12px 0 10px;background:var(--plan-accent,#6366f1);color:#12141a;font-size:10px;font-weight:700;letter-spacing:.08em}
.nv-state{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap;border:1px solid transparent}
.nv-state.active{color:#86efac;background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.35)}
.nv-state.expired{color:#fcd34d;background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.35)}
.nv-state.banned{color:#fca5a5;background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.35)}
.nv-tenant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-top:14px}
.nv-tenant-card{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid #343a4a;border-radius:13px;background:#191d26}
.nv-tenant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.nv-tenant-name{margin:0;font-size:16px;line-height:1.35;word-break:break-word}
.nv-tenant-domain{margin-top:5px;font-size:12px;word-break:break-all}
.nv-tenant-domain a{color:#a5b4fc}
.nv-tenant-domain span{margin-left:6px;color:#94a3b8}
.nv-tenant-bind{margin-top:8px;padding:7px 10px;border-radius:8px;background:#202531;color:#94a3b8;font-size:11px;word-break:break-all}
.nv-tenant-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin:14px 0;padding:12px 0;border-top:1px solid #2b3140;border-bottom:1px solid #2b3140}
.nv-tenant-meta>div{min-width:0}
.nv-tenant-meta span{display:block;color:#94a3b8;font-size:11px}
.nv-tenant-meta p{margin:2px 0 0;font-size:12px;line-height:1.55;word-break:break-word}
.nv-tenant-meta small{color:#94a3b8;font-size:11px}
.nv-tenant-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.nv-tenant-actions form{margin:0}
.nv-tenant-actions .nv-btn{flex:1 1 calc(50% - 4px);min-width:0}
@media(max-width:640px){.nv-tenant-grid{grid-template-columns:1fr}.nv-tenant-meta{grid-template-columns:1fr 1fr}}
.nv-toast{position:fixed;top:18px;left:50%;z-index:130;display:flex;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:12px 14px;border-radius:12px;border:1px solid #3a4157;background:#1b2030;color:#e2e8f0;box-shadow:0 12px 32px rgba(0,0,0,.35);transform:translateX(-50%);animation:nv-toast-in .22s ease-out}
.nv-toast.ok{border-color:#2f7f64;background:#14251f}
.nv-toast.bad{border-color:#7f2f2f;background:#261818}
.nv-toast-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#22c55e;color:#08130d;font-weight:800;flex:none}
.nv-toast.bad .nv-toast-icon{background:#ef4444;color:#fff}
.nv-toast-text{font-size:13px;line-height:1.5;word-break:break-word}
.nv-toast-close{border:0;background:transparent;color:#94a3b8;font-size:18px;line-height:1;padding:0 2px;cursor:pointer;flex:none}
@keyframes nv-toast-in{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
.nv-backtop{position:fixed;right:18px;bottom:22px;z-index:40;width:42px;height:42px;border-radius:50%;border:1px solid #4c5270;background:#1e222c;color:#a5b4fc;font-size:18px;line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(0,0,0,.3)}
.nv-backtop.on{display:inline-flex}
.nv-notice-card{border-left:0;background:#1e222c;padding:22px}
@media(max-width:640px){.nv-notice-card{padding:18px}}
.nv-tenant-actions form{flex:1 1 calc(50% - 4px);display:flex}
.nv-tenant-actions form .nv-btn{width:100%}
.nv-tenant-actions form .nv-btn{flex:1 1 auto;width:100%;min-width:0}
