*{margin:0;padding:0;box-sizing:border-box}html,body,#root{min-height:100vh}body{background:#eef3fb;color:#0f172a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,Roboto,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#eef3fb}::-webkit-scrollbar-thumb{background:#2563eb38;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#2563eb6b}.orb{position:absolute;border-radius:50%;filter:blur(90px);opacity:.55;pointer-events:none;z-index:0}.orb-1{width:480px;height:480px;background:radial-gradient(circle,rgba(56,189,248,.32),transparent 70%);top:-160px;left:-120px;animation:orbFloat1 14s ease-in-out infinite}.orb-2{width:420px;height:420px;background:radial-gradient(circle,rgba(129,140,248,.3),transparent 70%);bottom:-140px;right:-100px;animation:orbFloat2 18s ease-in-out infinite}.orb-3{width:360px;height:360px;background:radial-gradient(circle,rgba(59,130,246,.26),transparent 70%);top:40%;right:12%;animation:orbFloat3 22s ease-in-out infinite}.grid-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background-image:linear-gradient(rgba(37,99,235,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.05) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse at center,rgba(0,0,0,.9),transparent 75%);-webkit-mask-image:radial-gradient(ellipse at center,rgba(0,0,0,.9),transparent 75%)}.auth-page{position:relative;min-height:100vh;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#e9f2ff,#f5f9ff 45%,#edf2fb);padding:24px}.auth-card{position:relative;z-index:1;width:100%;max-width:400px;background:#ffffffc7;border:1px solid rgba(37,99,235,.12);border-radius:22px;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 24px 64px #0f172a1a,inset 0 0 0 1px #fff9,0 0 60px #3b82f61a;padding:40px 36px 26px;animation:fadeUp .7s cubic-bezier(.22,1,.36,1) both}.auth-logo{width:88px;height:88px;margin:0 auto;display:flex;align-items:center;justify-content:center;border-radius:24px;background:#fff;border:1px solid rgba(37,99,235,.1);overflow:hidden;animation:logoPulse 3s ease-in-out infinite}.auth-logo-img{width:100%;height:100%;object-fit:cover;border-radius:24px;display:block}.auth-title{margin:16px 0 6px;font-size:34px;font-weight:800;letter-spacing:3px;background:linear-gradient(120deg,#0ea5e9,#2563eb 45%,#7c3aed);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}.auth-subtitle{color:#64748b;font-size:13px;letter-spacing:2px}.auth-submit{height:46px!important;border:none!important;border-radius:12px!important;font-size:16px!important;font-weight:700!important;letter-spacing:8px;background:linear-gradient(135deg,#38bdf8,#2563eb)!important;box-shadow:0 8px 24px #2563eb4d!important;transition:all .3s}.auth-submit:hover{box-shadow:0 10px 34px #2563eb73!important;transform:translateY(-1px)}.auth-hint{text-align:center;color:#94a3b8;font-size:12px;margin:4px 0 0;line-height:1.7}.dash-page{position:relative;min-height:100vh;background:linear-gradient(180deg,#e9f2ff,#f5f9ff 40%,#edf2fb);display:flex;flex-direction:column;overflow-x:hidden}.dash-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 28px;background:#ffffffd1;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(37,99,235,.1)}.dash-brand{display:flex;align-items:center;gap:10px}.dash-brand-logo{display:inline-flex}.dash-brand-logo img{width:34px;height:34px;border-radius:9px;object-fit:cover;background:#fff;border:1px solid rgba(37,99,235,.12);box-shadow:0 0 14px #ffc10759;display:block}.dash-brand-name{font-size:19px;font-weight:800;letter-spacing:1px;background:linear-gradient(120deg,#0ea5e9,#2563eb);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.dash-brand-divider{width:1px;height:18px;background:#0f172a1f}.dash-brand-sub{font-size:13px;color:#64748b;letter-spacing:1px}.dash-user{display:flex;align-items:center;gap:12px}.dash-user-meta{display:flex;flex-direction:column;line-height:1.3}.dash-user-name{font-size:14px;font-weight:600;color:#0f172a}.dash-user-phone{font-size:11px;color:#94a3b8}.dash-logout{color:#64748b!important}.dash-logout:hover{color:#e11d48!important}.dash-main{position:relative;z-index:1;flex:1;width:100%;max-width:1200px;margin:0 auto;padding:28px 24px 8px;animation:fadeUp .6s cubic-bezier(.22,1,.36,1) both}.dash-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.dash-title{margin:0;font-size:26px;font-weight:800;color:#0f172a;letter-spacing:1px}.dash-desc{margin:6px 0 0;color:#64748b;font-size:13px}.dash-loading{display:flex;justify-content:center;align-items:center;min-height:40vh}.dash-card{background:#ffffffd1;border:1px solid rgba(37,99,235,.1);border-radius:18px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);padding:4px 8px 8px;box-shadow:0 12px 40px #0f172a12}.dash-card-head{padding:16px 16px 8px}.dash-card-title{font-size:16px;font-weight:700;color:#0f172a}.stat-card{position:relative;display:flex;align-items:center;gap:16px;background:#ffffffd9;border:1px solid rgba(37,99,235,.1);border-radius:18px;padding:20px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transition:all .3s;overflow:hidden;box-shadow:0 8px 28px #0f172a0f}.stat-card:hover{transform:translateY(-3px);border-color:#2563eb47;box-shadow:0 12px 36px var(--glow, rgba(37, 99, 235, .18))}.stat-icon{width:52px;height:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0;box-shadow:0 6px 18px #0f172a2e}.stat-body{display:flex;flex-direction:column;gap:4px;min-width:0}.stat-label{font-size:13px;color:#64748b}.stat-value{font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.5px}@keyframes orbFloat1{0%,to{transform:translate(0) scale(1)}50%{transform:translate(60px,40px) scale(1.12)}}@keyframes orbFloat2{0%,to{transform:translate(0) scale(1)}50%{transform:translate(-50px,-30px) scale(1.08)}}@keyframes orbFloat3{0%,to{transform:translate(0) scale(1)}50%{transform:translate(-40px,50px) scale(.95)}}@keyframes fadeUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes logoPulse{0%,to{box-shadow:0 0 30px #ffc10747,0 8px 24px #0f172a1f}50%{box-shadow:0 0 48px #ffc10780,0 8px 24px #0f172a1f}}.biz-layout{min-height:100vh;background:linear-gradient(180deg,#e9f2ff,#f5f9ff 40%,#edf2fb)}.biz-sider{background:#ffffffd9!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-right:1px solid rgba(37,99,235,.1)}.biz-logo{display:flex;align-items:center;gap:10px;height:60px;padding:0 18px;overflow:hidden}.biz-logo img{width:34px;height:34px;border-radius:9px;object-fit:cover;border:1px solid rgba(37,99,235,.12);flex-shrink:0}.biz-logo-text{font-size:16px;font-weight:800;letter-spacing:1px;white-space:nowrap;background:linear-gradient(120deg,#0ea5e9,#2563eb);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.biz-menu{background:transparent!important;border-inline-end:none!important}.biz-header{display:flex;align-items:center;justify-content:space-between;gap:16px;height:60px;padding:0 24px;background:#ffffffd1!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(37,99,235,.1)}.biz-collapse-btn{font-size:16px;color:#64748b}.biz-header-right{display:flex;align-items:center;gap:12px}.biz-user-meta{display:flex;flex-direction:column;line-height:1.3}.biz-user-name{font-size:14px;font-weight:600;color:#0f172a}.biz-user-phone{font-size:11px;color:#94a3b8}.biz-logout{color:#64748b!important}.biz-logout:hover{color:#e11d48!important}.biz-content{padding:24px;overflow-x:hidden}.page-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.page-title{margin:0;font-size:24px;font-weight:800;color:#0f172a;letter-spacing:1px}.page-desc{margin:6px 0 0;color:#64748b;font-size:13px}.month-picker{display:inline-flex;align-items:center;gap:10px;padding:4px 8px;background:#ffffffd9;border:1px solid rgba(37,99,235,.12);border-radius:12px}.month-picker-text{min-width:92px;text-align:center;font-size:14px;font-weight:700;color:#0f172a}.mini-stat{display:flex;flex-direction:column;gap:6px;background:#ffffffd9;border:1px solid rgba(37,99,235,.1);border-radius:16px;padding:18px 20px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 8px 28px #0f172a0f}.mini-stat-label{font-size:13px;color:#64748b}.mini-stat-value{font-size:26px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums}.biz-badge{font-size:12px;font-weight:600;color:#2563eb;background:#2563eb1a;border:1px solid rgba(37,99,235,.2);border-radius:8px;padding:1px 8px}.native-date-input{height:32px;padding:0 11px;border:1px solid #d9d9d9;border-radius:8px;font-size:14px;color:#0f172a;background:#fff;outline:none;transition:all .2s}.native-date-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1f}.mini-stat-clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.mini-stat-clickable:hover{transform:translateY(-2px);box-shadow:0 8px 20px #2563eb1f}.row-void td{color:#94a3b8!important;background:#f8fafc!important}.report-rows{display:flex;flex-direction:column;gap:2px;max-width:560px}.report-row{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-radius:10px}.report-row:nth-child(odd){background:#f8fafc}.report-row-label{color:#475569;font-size:14px}.report-row-value{font-weight:600;font-size:15px;font-variant-numeric:tabular-nums}.report-row-strong{border:1px solid rgba(37,99,235,.25);background:#2563eb0a!important}.report-row-strong .report-row-label{font-weight:700;color:#0f172a}.report-row-strong .report-row-value{font-size:17px;font-weight:700}.biz-record-list{display:flex;flex-direction:column}.biz-record-item{display:flex;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid rgba(37,99,235,.07)}.biz-record-item:last-child{border-bottom:none}.biz-record-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;background:#2563eb14;flex-shrink:0}.biz-record-main{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.biz-record-cat{font-size:15px;font-weight:600;color:#0f172a}.biz-record-note{font-size:12px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.biz-record-amount{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}.add-type-tabs{display:flex;gap:10px;margin-bottom:18px}.add-type-tab{flex:1;text-align:center;padding:9px 0;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;color:#64748b;background:#f1f5f9;transition:all .2s}.add-type-tab.active.expense{color:#fff;background:linear-gradient(135deg,#fb7185,#e11d48);box-shadow:0 6px 18px #e11d4847}.add-type-tab.active.income{color:#fff;background:linear-gradient(135deg,#34d399,#059669);box-shadow:0 6px 18px #05966947}.add-cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;max-height:320px;overflow-y:auto;padding:4px}.add-cat-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:12px;cursor:pointer;transition:all .2s}.add-cat-item:hover{background:#2563eb14}.add-cat-circle{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;background:#2563eb14}.add-cat-label{font-size:12px;color:#334155}.add-amount-wrap{display:flex;flex-direction:column;gap:14px}.add-amount-header{display:flex;align-items:center;justify-content:space-between}.add-selected-cat{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#0f172a}.add-amount-area{display:flex;align-items:center;gap:8px;padding:12px 4px;border-bottom:2px solid rgba(37,99,235,.18)}.add-yuan{font-size:26px;font-weight:700;color:#0f172a}.add-amount-input{border:none!important;box-shadow:none!important;font-size:30px;font-weight:800;padding:0!important}.add-amount-input:focus{box-shadow:none!important}.add-note-input{border-radius:10px}.add-save-btn{height:44px!important;border:none!important;border-radius:12px!important;font-size:16px!important;font-weight:700!important;background:linear-gradient(135deg,#38bdf8,#2563eb)!important;box-shadow:0 8px 24px #2563eb4d!important}.pos-page{display:flex;flex-direction:column;height:100vh;background:#f1f5f9}.pos-topbar{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 16px;background:#fff;border-bottom:1px solid #e2e8f0}.pos-topbar-left,.pos-topbar-right{display:flex;align-items:center;gap:10px}.pos-store-name{font-size:16px;font-weight:700;color:#0f172a}.pos-body{display:flex;flex:1;overflow:hidden}.pos-products{flex:1;display:flex;flex-direction:column;padding:12px;overflow:hidden}.pos-categories{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.pos-grid{flex:1;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;align-content:start}.pos-product-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px;cursor:pointer;transition:all .15s;display:flex;flex-direction:column;gap:4px}.pos-product-card:hover{border-color:#2563eb;box-shadow:0 4px 12px #2563eb26;transform:translateY(-2px)}.pos-product-name{font-size:14px;font-weight:600;color:#0f172a;line-height:1.3;height:36px;overflow:hidden}.pos-product-price{font-size:15px;font-weight:700;color:#dc2626}.pos-product-stock{font-size:11px;color:#94a3b8}.pos-cart{width:380px;background:#fff;border-left:1px solid #e2e8f0;display:flex;flex-direction:column}.pos-cart-header{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:15px;font-weight:700;border-bottom:1px solid #f1f5f9}.pos-cart-meta{display:flex;align-items:center;gap:8px;padding:8px 16px}.pos-cart-member{padding:8px 16px}.pos-cart-lines{flex:1;overflow-y:auto;padding:4px 16px}.pos-cart-line{padding:8px 0;border-bottom:1px dashed #f1f5f9}.pos-line-name{font-size:13px;font-weight:600;color:#0f172a;margin-bottom:4px}.pos-line-ctrl{display:flex;align-items:center;gap:6px}.pos-line-amount{margin-left:auto;font-weight:700;color:#dc2626}.pos-cart-footer{border-top:1px solid #f1f5f9;padding:12px 16px}.pos-discount-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#64748b}.pos-payable{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:15px;font-weight:600}.pos-payable-amount{font-size:24px;font-weight:800;color:#dc2626}.pos-cart-actions{display:flex;gap:10px}.pos-cart-actions .ant-btn-primary{flex:1}.native-date{height:32px;padding:0 8px;border:1px solid #d9d9d9;border-radius:8px;font-size:14px;color:#0f172a}@media print{body *{visibility:hidden}.pos-receipt,.pos-receipt *{visibility:visible}.pos-receipt{position:absolute;left:0;top:0;width:80mm}}
