:root{--brand: #2f54eb;--brand-dark: #1d39c4;--text: #1f2329;--muted: #8a9099;--border: #e5e7eb;--danger: #d4380d;--ok: #389e0d;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{color:var(--text);background:#f5f6f8}.center{display:flex;align-items:center;justify-content:center;height:100%}.muted{color:var(--muted)}.small{font-size:13px}.auth-wrap{min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#eef2ff,#f5f6f8 60%)}.auth-card{width:100%;max-width:360px;background:#fff;border-radius:12px;padding:32px 28px;box-shadow:0 8px 30px #1f232914}.auth-title{margin:0 0 4px;font-size:22px;font-weight:600}.auth-sub{margin:0 0 24px;color:var(--muted);font-size:14px}.field{display:block;margin-bottom:16px}.field>span{display:block;margin-bottom:6px;font-size:13px;color:#4e5969}.field input{width:100%;height:42px;padding:0 12px;border:1px solid var(--border);border-radius:8px;font-size:15px;outline:none;transition:border-color .15s}.field input:focus{border-color:var(--brand)}.code-row{display:flex;gap:8px}.code-row input{flex:1}.code-btn{flex:0 0 auto;min-width:104px;height:42px;border:1px solid var(--brand);background:#fff;color:var(--brand);border-radius:8px;font-size:14px;cursor:pointer}.code-btn:disabled{border-color:var(--border);color:var(--muted);cursor:not-allowed}.auth-btn{width:100%;height:44px;margin-top:8px;border:none;border-radius:8px;background:var(--brand);color:#fff;font-size:16px;letter-spacing:2px;cursor:pointer;transition:background .15s}.auth-btn:hover:not(:disabled){background:var(--brand-dark)}.auth-btn:disabled{background:#a9b6f0;cursor:not-allowed}.auth-error{margin-bottom:12px;padding:8px 12px;border-radius:6px;background:#fff1f0;color:var(--danger);font-size:13px}.auth-info{margin-bottom:12px;padding:8px 12px;border-radius:6px;background:#f6ffed;color:var(--ok);font-size:13px}.home-wrap{min-height:100%}.home-bar{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 20px;background:#fff;border-bottom:1px solid var(--border)}.home-main{padding:24px 20px;max-width:720px}.link-btn{border:none;background:none;color:var(--brand);cursor:pointer;font-size:14px}.profile{margin:16px 0;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}.profile>div{display:flex;gap:12px;padding:10px 16px;border-bottom:1px solid #f0f1f3;font-size:14px;word-break:break-all}.profile>div:last-child{border-bottom:none}.profile>div>span{flex:0 0 96px;color:var(--muted)}@media (max-width: 480px){.auth-card{max-width:100%;box-shadow:none;background:transparent;padding:24px 4px}.auth-wrap{background:#fff;align-items:flex-start;padding-top:48px}}.op-shell{display:flex;min-height:100%}.op-side{flex:0 0 208px;background:#1f2733;color:#c9d1d9;display:flex;flex-direction:column}.op-brand{height:56px;display:flex;align-items:center;padding:0 20px;font-size:16px;font-weight:600;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}.op-nav{padding:8px 0;display:flex;flex-direction:column}.op-nav-item{padding:11px 20px;color:#c9d1d9;text-decoration:none;font-size:14px;border-left:3px solid transparent;transition:background .15s,color .15s}.op-nav-item:hover{background:#ffffff0f;color:#fff}.op-nav-item.active{background:#2f54eb2e;border-left-color:var(--brand);color:#fff}.op-body{flex:1 1 auto;display:flex;flex-direction:column;min-width:0}.op-topbar{height:56px;display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:0 20px;background:#fff;border-bottom:1px solid var(--border)}.op-topbar-right{display:flex;align-items:center;gap:16px}.op-main{flex:1 1 auto;padding:24px;overflow:auto}.op-page-title{margin:0 0 16px;font-size:20px;font-weight:600}.op-placeholder{border:1px dashed var(--border);border-radius:10px;background:#fff;padding:40px 24px;text-align:center}.op-placeholder p{margin:4px 0}.op-page{max-width:960px}.op-page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.op-page-head .op-page-title{margin:0}.btn{height:34px;padding:0 14px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-size:14px;cursor:pointer;transition:all .15s}.btn:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}.btn:disabled{color:var(--muted);cursor:not-allowed}.btn-primary{border-color:var(--brand);background:var(--brand);color:#fff}.btn-primary:hover:not(:disabled){background:var(--brand-dark);color:#fff}.op-filter{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}.op-filter select,.op-filter input{height:34px;padding:0 10px;border:1px solid var(--border);border-radius:8px;font-size:14px}.op-filter input{min-width:200px}.op-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}.op-table th,.op-table td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--border);font-size:14px}.op-table th{background:#fafbfc;color:var(--muted);font-weight:500}.op-table tbody tr:last-child td{border-bottom:none}.op-link{color:var(--brand);text-decoration:none}.op-link:hover{text-decoration:underline}.op-actions{display:flex;gap:12px}.tag{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;line-height:18px}.tag-draft{background:#f0f0f0;color:#666}.tag-on{background:#f6ffed;color:var(--ok)}.tag-off{background:#fff1f0;color:var(--danger)}.op-pager{display:flex;align-items:center;gap:14px;margin-top:16px}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:100}.modal-card{width:460px;max-width:calc(100vw - 32px);max-height:calc(100vh - 64px);overflow:auto;background:#fff;border-radius:12px;padding:24px}.modal-title{margin:0 0 16px;font-size:18px;font-weight:600}.op-textarea{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;font-size:14px;font-family:inherit;resize:vertical}.op-textarea:focus{outline:none;border-color:var(--brand)}.modal-foot{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}
