*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:#f6f4f0;color:#3a3530}button{font-family:inherit;cursor:pointer}input,select,textarea{font-family:inherit}.auth-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#fdf8f1,#f1e6d8)}.auth-card{width:380px;background:#fff;border-radius:16px;padding:44px 40px;box-shadow:0 20px 60px #5a46281f}.auth-title{font-size:26px;font-weight:600;color:#4a453e;text-align:center;margin-bottom:6px;letter-spacing:2px}.auth-sub{font-size:13px;color:#8c867c;text-align:center;margin-bottom:34px;letter-spacing:1px}.form-item{margin-bottom:18px}.form-item label{display:block;font-size:13px;color:#6b6560;margin-bottom:8px}.form-item input,.form-item select{width:100%;height:44px;border:1px solid #E8E2D5;border-radius:10px;padding:0 14px;font-size:14px;color:#3a3530;outline:none;background:#fdfbf8}.form-item input:focus,.form-item select:focus{border-color:#c8a96e}.btn{display:flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:10px;font-size:15px;font-weight:500;padding:13px 0;width:100%;transition:all .2s}.btn-primary{background:linear-gradient(135deg,#c8a96e,#a8844c);color:#fff;box-shadow:0 8px 20px #a8844c4d}.btn-primary:hover{opacity:.92}.btn-secondary{background:#f1e9dc;color:#7a5d2e}.btn-secondary:hover{background:#e8dcc8}.btn-sm{width:auto;padding:8px 18px;font-size:13px;border-radius:8px}.btn-danger{background:#fdebeb;color:#c0392b}.btn:disabled{opacity:.6;cursor:not-allowed}.layout{display:flex;height:100vh;overflow:hidden}.layout-side{width:220px;background:#201c16;color:#fff;display:flex;flex-direction:column;flex-shrink:0}.layout-side .brand{padding:28px 22px 20px;border-bottom:1px solid rgba(255,255,255,.06)}.layout-side .brand h2{font-size:17px;font-weight:500;color:#d8be90;letter-spacing:1px}.layout-side .brand p{font-size:11px;color:#ffffff59;margin-top:4px;letter-spacing:2px}.layout-nav{flex:1;padding:16px 0}.layout-nav .nav-item{display:flex;align-items:center;gap:10px;padding:14px 24px;cursor:pointer;color:#ffffff8c;font-size:14px;border-left:3px solid transparent;transition:all .2s}.layout-nav .nav-item:hover{background:#ffffff0d;color:#fff}.layout-nav .nav-item.active{background:#c8a96e1f;color:#d8be90;border-left-color:#c8a96e}.layout-main{flex:1;display:flex;flex-direction:column;min-width:0}.layout-top{height:62px;background:#fff;border-bottom:1px solid #ECE6DC;display:flex;justify-content:space-between;align-items:center;padding:0 28px;flex-shrink:0}.layout-top .page-title{font-size:18px;font-weight:600;color:#3a3530}.store-switch{display:flex;align-items:center;gap:10px}.store-switch select{height:36px;border:1px solid #E0D8C8;border-radius:8px;padding:0 10px;font-size:13px;color:#5a4a32;background:#fdfbf8;outline:none;min-width:180px}.layout-top .user-box{display:flex;align-items:center;gap:14px;font-size:13px;color:#6b6560}.layout-top .logout-btn{color:#c0392b;cursor:pointer}.layout-content{flex:1;overflow-y:auto;padding:28px}.card{background:#fff;border-radius:14px;padding:22px;box-shadow:0 4px 16px #503c1e0d;margin-bottom:20px}.card-title{font-size:16px;font-weight:600;color:#3a3530;margin-bottom:18px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stat-card{background:#fff;border-radius:14px;padding:20px;box-shadow:0 4px 16px #503c1e0d}.stat-card .label{font-size:12px;color:#8c867c;margin-bottom:8px}.stat-card .value{font-size:24px;font-weight:700;color:#4a453e}.stat-card .value.gold{color:#a8844c}.stat-card .sub{font-size:12px;color:#a09a92;margin-top:6px}.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:12px;color:#8c867c;font-weight:500;padding:10px 12px;border-bottom:1px solid #F0EBE2;white-space:nowrap}.table td{font-size:13px;padding:12px;border-bottom:1px solid #F6F2EA;color:#4a453e;vertical-align:middle}.table tr:hover td{background:#fdfbf7}.table .tag{display:inline-block;padding:2px 10px;border-radius:20px;font-size:12px;background:#f1e9dc;color:#7a5d2e}.table .tag.green{background:#e8f3ec;color:#2e7d4f}.table .tag.red{background:#fdebeb;color:#c0392b}.table .tag.blue{background:#eaf1f8;color:#2b6cb0}.filter-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.filter-bar input,.filter-bar select{height:38px;border:1px solid #E0D8C8;border-radius:8px;padding:0 12px;font-size:13px;outline:none;background:#fff}.filter-bar input{width:220px}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#14100a73;display:flex;align-items:center;justify-content:center;z-index:100}.modal{background:#fff;border-radius:14px;padding:30px;width:480px;max-height:86vh;overflow-y:auto}.modal h3{font-size:17px;color:#3a3530;margin-bottom:22px}.modal .row{display:flex;gap:12px}.modal .form-item{flex:1}.drawer-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#14100a66;z-index:90}.drawer{position:fixed;top:0;right:0;width:560px;height:100%;background:#fff;z-index:95;box-shadow:-10px 0 40px #0000001f;display:flex;flex-direction:column}.drawer-head{padding:22px 26px;border-bottom:1px solid #EFE9DE;display:flex;justify-content:space-between;align-items:center}.drawer-head h3{font-size:17px;color:#3a3530}.drawer-close{cursor:pointer;font-size:18px;color:#a09a92}.drawer-body{flex:1;overflow-y:auto;padding:22px 26px}.drawer-body .kv{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed #F1EBE0;font-size:13px}.drawer-body .kv .k{color:#8c867c}.drawer-body .kv .v{color:#4a453e;font-weight:500;text-align:right;max-width:70%}.mt{margin-top:16px}.error-text{color:#c0392b;font-size:13px;margin-bottom:12px;text-align:center}
