#view{position:relative;background:#f4f6f8;}html.force-m #view{background:#ffffff;}.pg{min-height:100%;background:#fff;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform .26s cubic-bezier(.22,.61,.36,1),opacity .26s cubic-bezier(.22,.61,.36,1);}.pg-abs{position:absolute;inset:0;background:#fff;will-change:transform,opacity;backface-visibility:hidden;-webkit-backface-visibility:hidden;}.pg-from-right{transform:translate3d(100%,0,0);}.pg-from-left{transform:translate3d(-30%,0,0);opacity:.4;}.pg-abs.pg-in{transform:translate3d(0,0,0);opacity:1;}.pg-out-left{transform:translate3d(-30%,0,0);opacity:.4;}.pg-out-right{transform:translate3d(100%,0,0);opacity:.4;}.pg-snap{position:absolute;inset:0;z-index:0;background:#f4f6f8;overflow:hidden;}.pg-front{position:absolute;inset:0;z-index:1;background:#fff;will-change:transform;}.shell{position:relative;}.mobile-top{background:#ffffff;color:#0f172a;border-bottom:1px solid rgba(15,23,42,.06);}.m-menu-btn{color:#0f172a;font-size:18px;}.m-title{font-weight:700;font-size:16px;}.m-drawer-mask{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:950;}.m-drawer{position:absolute;left:0;top:0;bottom:0;width:268px;background:linear-gradient(180deg,#101828 0%,#16202e 55%,#1c2b3f 100%);overflow-y:auto;padding:12px;animation:drawerIn .2s ease;}@keyframes drawerIn{from{transform:translateX(-100%);}to{transform:none;}}.m-drawer .nav a{color:#cbd5e1;}.pos-layout{display:grid;grid-template-columns:1fr 380px;gap:16px;align-items:start;}.pos-left,.pos-right{min-width:0;}.pos-right .card.card-pad{position:relative;box-shadow:0 10px 30px rgba(15,23,42,.12),0 2px 6px rgba(15,23,42,.06);}.pos-services{max-height:calc(100vh - 260px);overflow-y:auto;}.svc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;}.svc-item{background:#fff;border:1px solid #b4c0d1;border-radius:12px;padding:12px;cursor:pointer;transition:all .18s;text-align:left;}.svc-item:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 5px 14px rgba(15,23,42,.07);}.svc-item .svc-img{width:100%;height:96px;border-radius:9px;background-size:cover;background-position:center;margin-bottom:8px;border:1px solid #b4c0d1;background-color:#f8fafc;transition:transform .25s ease;}.svc-item:hover .svc-img{transform:scale(1.04);}.svc-item .svc-name{font-weight:600;font-size:14px;}.svc-item .svc-price{color:var(--primary);font-weight:700;margin-top:4px;font-size:15px;}.svc-item .svc-dept{font-size:11px;color:var(--ink-3);margin-top:2px;}.svc-item.selected{border-color:var(--primary);background:var(--primary-light);box-shadow:0 4px 12px rgba(214,0,110,.10);}.pos-cat-group-title{display:flex;align-items:center;gap:7px;margin:2px 0 10px;padding-left:9px;font-size:14px;font-weight:600;color:#1f2329;border-left:3px solid var(--primary);}.pos-cat-group-title .pos-cat-group-count{font-size:12px;font-weight:400;color:var(--ink-3);background:var(--bg-2,#f1f5f9);border-radius:10px;padding:0 7px;line-height:18px;}.pos-cat-group + .pos-cat-group{margin-top:16px;}.pos-cat-group:first-of-type{margin-top:2px;}.svc-table-img{width:44px;height:44px;border-radius:9px;background-size:cover;background-position:center;background-color:#f8fafc;border:1px solid #b4c0d1;}.svc-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));margin-bottom:14px;}.svc-card{background:#fff;border:1px solid #b4c0d1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px;box-shadow:0 2px 10px rgba(15,23,42,.05);transition:transform .15s ease,box-shadow .15s ease;}.svc-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,23,42,.10);}.svc-card-img{height:96px;border-radius:10px;background-size:cover;background-position:center;background-color:#f8fafc;border:1px solid #b4c0d1;position:relative;}.svc-st{position:absolute;top:8px;right:8px;}.svc-card-name{font-weight:700;font-size:14.5px;color:var(--ink-1,#0f172a);display:flex;align-items:center;gap:6px;flex-wrap:wrap;}.svc-card-price{font-size:17px;font-weight:800;color:var(--primary,#0f766e);}.svc-card-dur{font-size:12px;color:var(--ink-3,#64748b);}.svc-card-meta{display:flex;justify-content:space-between;align-items:baseline;}.svc-card-comm{font-size:11.5px;color:#8a6d1d;background:#fff8e6;border-radius:7px;padding:4px 8px;line-height:1.5;}.svc-card-ops{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;}.svc-card-ops .btn{padding:3px 10px;font-size:12px;}@media (max-width:900px){.svc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.svc-card{padding:10px;}.svc-card-img{height:76px;}}.svc-img-picker{display:flex;align-items:center;gap:10px;}.svc-img-prev{width:72px;height:72px;border-radius:10px;background-size:cover;background-position:center;background-color:#f8fafc;border:1px solid var(--line);flex:none;}.pos-right>.card{display:flex;flex-direction:column;height:calc(100vh - 104px);max-height:calc(100vh - 104px);min-height:540px;overflow:hidden;}.pos-submit-bar{position:sticky;bottom:0;z-index:3;background:#fff;padding-top:6px;margin-top:auto;}.pos-right>.card>*{flex:none;}.pos-right>.card>.pos-cart-scroll{flex:1 1 auto;min-height:120px;max-height:none;overflow-y:auto;overscroll-behavior:contain;}.pos-cart-scroll>#pos-benefits{max-height:none;overflow:visible;}.pos-cart-scroll>.cart-list{max-height:none;overflow:visible;}#pos-benefits{max-height:88px;overflow-y:auto;}.cart-list{max-height:calc(100vh - 420px);overflow-y:auto;}.cart-item{display:flex;align-items:center;gap:6px;padding:7px 0;border-bottom:1px dashed var(--line);}.cart-item .ci-name{flex:1;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.cart-item .ci-sub{font-size:12px;color:var(--ink-3);}.cart-item>.btn{padding:3px 7px;font-size:11px;flex:none;}.qty-ctrl{display:flex;align-items:center;gap:4px;flex:none;}.qty-ctrl button{width:21px;height:21px;border-radius:6px;background:#f3f4f6;font-size:14px;line-height:1;}.qty-ctrl .q{min-width:20px;text-align:center;font-weight:600;font-size:13px;}.pay-box{background:#fff;border-radius:12px;padding:14px;margin-top:12px;}.pay-methods{margin-top:8px;}.pay-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px;}.pay-method{padding:7px 2px;text-align:center;border:1.5px solid var(--line);border-radius:10px;font-size:12.5px;cursor:pointer;transition:all .15s;white-space:nowrap;}.pay-method.active{border-color:var(--teal);background:var(--teal-light);color:var(--teal);font-weight:600;}.pay-method .pm-ico{display:block;line-height:0;margin-bottom:3px;}.pay-method .pm-ico svg{width:23px;height:23px;display:block;margin:0 auto;}.pos-total-bar{display:flex;align-items:center;justify-content:space-between;margin:9px 0;padding:9px 14px;background:var(--primary-light);border-radius:12px;}.pos-total-bar .t{font-size:22px;font-weight:800;color:var(--primary);}@media (max-width:900px){.pos-layout{grid-template-columns:1fr;}.pos-right{order:-1;}.svc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.pay-grid{gap:6px;}.pay-method{padding:8px 1px;font-size:11px;}.pay-method .pm-ico svg{width:19px;height:19px;}}.m-pos-bar,.m-pos-mask{display:none;}html.force-m{background:#ffffff !important;}html.force-m body{background:#ffffff !important;}html.force-m .shell{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;border-radius:0;border:0;box-sizing:border-box;box-shadow:none;overflow:hidden;background:#ffffff !important;}html.force-m .shell::before,html.force-m .shell::after{display:none;}html.force-m .content{height:100%;overflow-y:auto;padding:0 20px;}html.force-m .content:has(.home-hero){padding:0;}html.force-m body{background:#ffffff;}html.force-m #view{min-height:calc(100% - 62px);}html.force-m .home-hero{padding:calc(16px + env(safe-area-inset-top,0px)) 20px 20px;}html.force-m .home-hero .hh-top{padding-left:10px;}html.force-m .home-hero .hh-search{max-width:360px;margin:0 auto 16px;display:flex;align-items:center;gap:10px;}html.force-m .home-hero .hh-search .hh-scan{flex:none;width:36px;height:36px;border-radius:12px;border:0;cursor:pointer;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.4);}html.force-m .home-hero .hh-search .s-ico{position:static;transform:none;margin-left:2px;color:rgba(255,255,255,.72);}html.force-m .home-hero .hh-search input{flex:1;min-width:0;padding-left:12px;}html.force-m .mobile-top{display:none !important;position:sticky;top:0;z-index:940;align-items:center;gap:12px;margin:0;box-sizing:border-box;padding:calc(14px + env(safe-area-inset-top,0px)) 16px 10px;min-height:60px;background:linear-gradient(180deg,#f6f8fc,#f6f8fc 72%,rgba(246,248,252,0));}html.force-m .mobile-top .m-user-chip{font-size:14.5px;font-weight:700;color:#0f172a;}html.force-m .mobile-top #m-menu-btn{font-size:18px;line-height:1;color:#0f172a;width:36px;height:36px;padding:0;border-radius:12px;background:#eef1f6;border-color:transparent;}html.force-m .m-bottom-nav{display:flex !important;position:absolute;bottom:0;left:0;right:0;transform:none;max-width:none;background:#fff;border-top:1px solid rgba(15,23,42,.06);box-shadow:0 -6px 24px -12px rgba(15,23,42,.28);z-index:950;padding-bottom:env(safe-area-inset-bottom,0px);}html.force-m .m-bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 0 11px;font-size:10.5px;line-height:1.1;font-weight:600;color:#98a2b3;text-decoration:none;position:relative;transition:color .18s ease;}html.force-m .m-bottom-nav a .m-ico{width:24px;height:24px;display:grid;place-items:center;transition:transform .12s ease;}html.force-m .m-bottom-nav a.active{color:var(--primary);}html.force-m .m-bottom-nav a.active .m-ico{transform:translateY(-1px) scale(1.06);}html.force-m .m-bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#ffffff;border-top:1px solid rgba(15,23,42,.05);box-shadow:0 -6px 24px -12px rgba(15,23,42,.22);z-index:950;padding-bottom:env(safe-area-inset-bottom,0px);}html.force-m .m-bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 0 11px;font-size:10.5px;line-height:1.1;font-weight:600;color:#98a2b3;text-decoration:none;position:relative;transition:color .18s ease;-webkit-tap-highlight-color:transparent;}html.force-m .m-bottom-nav a .m-ico{width:24px;height:24px;display:grid;place-items:center;transition:transform .12s ease;}html.force-m .m-bottom-nav a .m-ico svg{width:22px;height:22px;}html.force-m .m-bottom-nav a.active{color:var(--primary);}html.force-m .m-bottom-nav a.active .m-ico{transform:translateY(-1px) scale(1.06);}html.force-m .m-bottom-nav a:active{transform:translateY(0);opacity:.75;}html.force-m .m-bottom-nav a.active::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:22px;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,var(--primary),var(--primary-d,var(--primary)));box-shadow:0 2px 8px -2px var(--primary);}html.force-m #view{min-height:calc(100dvh - 61px);}html.force-m .home-hero{margin-top:0;padding-top:6px;}html.force-m .pg-out-left{transition:transform .18s cubic-bezier(.22,.61,.36,1),opacity .18s ease;}html.force-m .pg-out-right{transition:transform .18s cubic-bezier(.22,.61,.36,1),opacity .18s ease;}html.force-m .stat-grid{grid-template-columns:repeat(2,1fr);}html.force-m .form-row{flex-direction:column;gap:0;}html.force-m .page-head{flex-direction:column;align-items:stretch;gap:10px;margin-top:0;padding-top:22px;}html.force-m .page-head>div:last-child{flex-direction:row !important;flex-wrap:wrap;}html.force-m #view{overflow-x:clip;max-width:100%;}html.force-m .table-wrap{max-width:100%;}html.force-m .modal-mask{position:absolute;inset:0;}html.force-m .pos-layout{grid-template-columns:1fr;gap:0;align-items:start;}html.force-m .pos-left .filter-bar{flex-wrap:wrap;gap:6px;margin-bottom:8px;}html.force-m .pos-left .filter-bar .chip{padding:4px 9px;font-size:12px;}html.force-m .pos-left .filter-bar .input{min-width:100%;padding:6px 10px;}html.force-m .svc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}html.force-m .svc-item{padding:6px;gap:4px;border-radius:12px;}html.force-m .pos-cat-group-title{font-size:13px;margin:0 0 8px;padding-left:7px;border-left-width:3px;}html.force-m .pos-cat-group + .pos-cat-group{margin-top:12px;}html.force-m .svc-item .svc-img{height:62px;border-radius:8px;}html.force-m .svc-item .svc-name{font-size:11.5px;}html.force-m .svc-item .svc-price{font-size:13px;margin-top:2px;}html.force-m .svc-item .svc-dept{font-size:9.5px;margin-top:1px;}html.force-m .pos-services{max-height:calc(100dvh - 330px);}html.force-m .m-mem-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 2px 16px;}html.force-m .m-mem-title{font-size:20px;font-weight:800;color:#0f172a;letter-spacing:.2px;display:flex;align-items:center;gap:4px;}html.force-m .m-bell{position:relative;margin-left:6px;width:30px;height:30px;padding:0;border-radius:9px;border:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc,#eef2f7);font-size:16px;line-height:1;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 1px 3px rgba(15,23,42,.08);}html.force-m .m-bell:active{transform:scale(.94);}html.force-m .m-bell-n{position:absolute;top:-7px;right:-8px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:10px;font-weight:800;font-style:normal;line-height:17px;text-align:center;display:none;box-shadow:0 1px 3px rgba(214,0,110,.5);}html.force-m .m-bell.has .m-bell-n{display:inline-block;}.m-alert-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(15,23,42,.06);}.m-alert-row:last-child{border-bottom:0;}.m-alert-inf{flex:1;min-width:0;}html.force-m .m-mem-actions{display:flex;gap:8px;}html.force-m .m-mem-levels{height:34px;padding:0 15px;border-radius:999px;border:1px solid rgba(214,0,110,.28);background:linear-gradient(180deg,rgba(214,0,110,.13),rgba(214,0,110,.06));color:#D6006E;font-size:12.5px;font-weight:700;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.5);}html.force-m .m-mem-levels:active{background:linear-gradient(180deg,rgba(214,0,110,.2),rgba(214,0,110,.12));}html.force-m .m-search-bar{display:flex;gap:8px;margin-bottom:16px;}html.force-m .m-search-bar .input{flex:1;min-width:0;height:46px;border-radius:20px;border:1.5px solid #cfd6e0;background:#fff;padding:0 18px 0 44px;font-size:14px;box-shadow:0 2px 8px rgba(15,23,42,.08);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:15px center;background-size:18px;}html.force-m .m-search-bar .btn{height:46px;padding:0 22px;border-radius:20px;flex:none;border:none;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-weight:700;font-size:14px;position:relative;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 8px 20px -8px rgba(214,0,110,.55);}html.force-m .m-search-bar .btn::before{content:'';position:absolute;right:-16px;top:-28px;width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.16);}html.force-m .m-search-bar .btn::after{content:'';position:absolute;left:12px;top:-22px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.10);}html.force-m .m-search-bar .btn:active{opacity:.88;}html.force-m .ms-grid{grid-template-columns:repeat(3,1fr);gap:10px;}html.force-m .ms-card{border-radius:16px;padding:13px 12px;color:#0f172a;box-shadow:0 1px 4px rgba(15,23,42,.05);}html.force-m .ms-card::after{display:none;}html.force-m .ms-card span{font-size:11px;color:#64748b;font-weight:600;letter-spacing:.3px;}html.force-m .ms-card b{font-size:17px;font-weight:800;margin:5px 0 2px;letter-spacing:-.3px;}html.force-m .ms-card i{font-size:9.5px;color:#94a3b8;}html.force-m .ms-b1{background:#e0f2fe;}html.force-m .ms-b1 b{color:#0284c7;}html.force-m .ms-b2{background:#d1fae5;}html.force-m .ms-b2 b{color:#059669;}html.force-m .ms-b3{background:#FFE8F2;}html.force-m .ms-b3 b{color:#D6006E;}html.force-m .low-bal-bar{font-size:12px;padding:10px 14px;border-radius:12px;background:#fef3c7;color:#b45309;}html.force-m .m-mem-row{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:12px 14px;margin-bottom:10px;box-shadow:0 1px 4px rgba(15,23,42,.05);border:1px solid #f1f5f9;cursor:pointer;}html.force-m .m-mem-row.low{border-left:3px solid #f59e0b;}html.force-m .m-mem-row:active{background:#fafbfc;}html.force-m .m-mem-av{width:44px;height:44px;border-radius:12px;overflow:hidden;flex:none;}html.force-m .m-mem-av .mcard-mini{width:44px;height:44px;border-radius:12px;font-size:16px;display:flex;align-items:center;justify-content:center;}html.force-m .m-mem-av .mcard-img{width:44px;height:44px;border-radius:12px;object-fit:cover;}html.force-m .m-mem-inf{flex:1;min-width:0;}html.force-m .m-mem-l1{font-size:15px;font-weight:700;color:#0f172a;display:flex;align-items:center;gap:7px;}html.force-m .m-lv-chip{font-size:10.5px;font-weight:600;color:#D6006E;background:rgba(214,0,110,.07);padding:2px 8px;border-radius:999px;white-space:nowrap;}html.force-m .m-mem-l2{font-size:11.5px;color:#94a3b8;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}html.force-m .m-mem-l2 b.teal{color:#0d9488;font-weight:600;}html.force-m .m-mem-l2 i.warn{font-style:normal;color:#d97706;}html.force-m .m-mem-act{display:flex;gap:8px;align-items:center;flex:none;}html.force-m .m-edit{height:32px;padding:0 14px;border-radius:10px;border:1px solid #cbd5e1;background:linear-gradient(180deg,#ffffff,#f1f5f9);color:#475569;font-size:12.5px;font-weight:600;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 3px rgba(15,23,42,.08);}html.force-m .m-edit:active{background:linear-gradient(180deg,#eef2f7,#e2e8f0);}html.force-m .m-rch{height:32px;padding:0 15px;border-radius:10px;border:none;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:12.5px;font-weight:700;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 3px 8px -3px rgba(214,0,110,.5);}html.force-m .m-pts{font-size:12px;color:#64748b;background:#f1f5f9;padding:3px 10px;border-radius:999px;white-space:nowrap;}html.force-m .m-mem-addbar{position:fixed;left:16px;right:16px;bottom:calc(61px + env(safe-area-inset-bottom,0px) + 14px);z-index:940;}html.force-m .m-mem-addbar button{width:100%;height:50px;border-radius:16px;border:none;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:16px;font-weight:700;letter-spacing:1px;position:relative;overflow:hidden;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px -8px rgba(214,0,110,.6);}html.force-m .m-mem-addbar button::before{content:'';position:absolute;right:-18px;top:-34px;width:96px;height:96px;border-radius:50%;background:rgba(255,255,255,.16);}html.force-m .m-mem-addbar button::after{content:'';position:absolute;left:16px;top:-26px;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.10);}html.force-m .m-mem-addbar button:active{opacity:.9;}html.force-m .m-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 4px;-webkit-overflow-scrolling:touch;scrollbar-width:none;}html.force-m .m-chips::-webkit-scrollbar{display:none;}html.force-m .m-chip{flex:none;height:32px;padding:0 14px;border-radius:999px;border:1px solid #cbd5e1;background:linear-gradient(180deg,#ffffff,#f1f5f9);color:#334155;font-size:12.5px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:5px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 3px rgba(15,23,42,.08);}html.force-m .m-chip i{font-style:normal;font-size:11px;color:#64748b;}html.force-m .m-chip.on{background:linear-gradient(180deg,#FF2D8A,#B3005C);border-color:#D6006E;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 3px 8px -2px rgba(214,0,110,.45);}html.force-m .m-chip.on i{color:rgba(255,255,255,.85);}html.force-m .m-mem-row{border:1px solid #eceff3;box-shadow:0 2px 8px rgba(15,23,42,.07);padding:14px 16px;}html.force-m .ms-card{padding:14px 12px;}html.force-m .m-pos-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;position:fixed;left:12px;right:12px;bottom:calc(61px + env(safe-area-inset-bottom,0px) + 10px);z-index:920;background:linear-gradient(135deg,#D6006E,#B3005C);color:#fff;border-radius:16px;padding:10px 14px;box-shadow:0 10px 26px rgba(179,0,92,.35);}html.force-m .m-pos-bar .m-pos-l{display:flex;align-items:baseline;gap:8px;min-width:0;}html.force-m .m-pos-bar .m-pos-l b{font-size:13px;font-weight:600;white-space:nowrap;}html.force-m .m-pos-bar #m-pos-total{font-size:21px;font-weight:800;font-variant-numeric:tabular-nums;}html.force-m .m-pos-bar #m-pos-go{background:#fff;color:#B3005C;border-radius:12px;padding:9px 20px;font-weight:700;font-size:14px;border:none;cursor:pointer;flex:none;}html.force-m .m-pos-mask{position:fixed;inset:0;background:rgba(15,23,42,.45);opacity:0;pointer-events:none;transition:opacity .12s ease;z-index:945;}html.force-m body.pos-drawer-open .m-pos-mask{opacity:1;pointer-events:auto;}html.force-m body.pos-drawer-open .m-pos-bar{display:none;}html.force-m .pos-right{position:fixed;left:0;right:0;bottom:calc(61px + env(safe-area-inset-bottom,0px) + 10px);top:auto;transform:translateY(115%);transition:transform .16s cubic-bezier(.25,.8,.35,1);z-index:960;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -14px 44px rgba(15,23,42,.30);max-height:60%;display:flex;flex-direction:column;padding:8px 0 0;overflow:hidden;}html.force-m body.pos-drawer-open .pos-right{transform:translateY(0);}html.force-m .pos-right>.card{flex:1;overflow-y:auto;padding:10px 14px 16px;border:none;box-shadow:none;border-radius:0;background:#fff;}html.force-m .pos-right .card-title{font-size:14px;}html.force-m #pos-member{height:54px;padding:5px 8px;gap:6px;}html.force-m .pos-member-empty .pm-main b{font-size:13px;}html.force-m .pos-member-empty .pm-main i{font-size:10.5px;}html.force-m .pos-cart-scroll{max-height:130px;overflow-y:auto;}html.force-m .cart-list{max-height:none;}html.force-m .pay-box{padding:8px;margin-top:8px;}html.force-m .pay-box>label{font-size:11px;}html.force-m .pay-grid{grid-template-columns:repeat(4,1fr);gap:4px;}html.force-m .pay-method{padding:5px 1px;font-size:9.5px;}html.force-m .pay-method .pm-ico svg{width:16px;height:16px;}html.force-m .pos-total-bar{padding:6px 2px;}html.force-m .pos-total-bar .t{font-size:16px;}html.force-m .pos-submit-bar .form-row{flex-direction:row;gap:6px;}html.force-m .pos-submit-bar .field{flex-direction:row;align-items:center;gap:5px;margin-bottom:0;}html.force-m .pos-submit-bar .field label{min-width:44px;font-size:11px;}html.force-m .pos-submit-bar .field input{padding:4px 6px;font-size:12px;}html.force-m #pos-sign-btn{padding:4px 8px;font-size:11px;}html.force-m #pos-sign-state{font-size:10.5px;}html.force-m #pos-submit{font-size:14px;padding:10px;}html.force-m .pos-benefits-line{font-size:10.5px;}html.force-m .modal-mask .modal{max-width:calc(100% - 24px);max-height:84%;overflow-y:auto;}html.force-m .modal-mask .modal-body{font-size:12.5px;}html.force-m .modal-mask .modal-head h3{font-size:14.5px;}html.force-m .svc-item{background:#fff;border:1px solid #e3e8f0;box-shadow:0 3px 10px rgba(15,23,42,.06);transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease;}html.force-m .svc-item:active{transform:scale(.96);box-shadow:0 2px 6px rgba(15,23,42,.12);border-color:var(--primary);}html.force-m .mobile-top .m-user-chip{display:none;}html.force-m .mobile-top .m-back-btn{display:inline-flex;align-items:center;gap:3px;font-size:14.5px;font-weight:800;color:#fff;line-height:1;padding:7px 14px 7px 10px;border:none;border-radius:12px;cursor:pointer;background:linear-gradient(135deg,#D6006E,#B3005C);box-shadow:0 6px 16px rgba(179,0,92,.32);}html.force-m .mobile-top .m-back-btn.hidden{display:none;}html.force-m .m-bottom-nav a{flex:1 1 0;}html.force-m .stat-card .value,html.force-m .an-v,html.force-m .ch-amt{font-size:clamp(14px,5.4vw,23px) !important;white-space:nowrap;}html.force-m .home-hero .hh-search{z-index:30;}html.force-m .hh-search .hh-drop{position:absolute;left:0;right:0;z-index:999;max-height:480px;overflow-y:auto;overflow-x:hidden;background:#fff;border:1px solid #e3e8f0;border-radius:16px;box-shadow:0 18px 44px rgba(15,23,42,.26);display:none;text-align:left;}html.force-m .hh-search .hh-drop.open{display:block;}html.force-m .hh-search .hd-item{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .12s;}html.force-m .hh-search .hd-item:last-child{border-bottom:none;}html.force-m .hh-search .hd-item:active{background:#f8fafc;}html.force-m .hh-search .hd-ava{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:14px;font-weight:700;color:#fff;background:linear-gradient(135deg,#7c5cf6,#4f7ef7);}html.force-m .hh-search .hd-m{flex:1;min-width:0;display:flex;flex-direction:column;}html.force-m .hh-search .hd-m b{font-size:13.5px;color:#0f172a;}html.force-m .hh-search .hd-m i{font-style:normal;font-size:11px;color:#94a3b8;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}html.force-m .hh-search .hd-bal{font-size:13.5px;font-weight:800;color:var(--teal);flex:none;}html.force-m .hh-search .hd-empty{padding:16px;text-align:center;font-size:12.5px;color:#94a3b8;}html.force-m .home-hero .hh-big.hh-data{background:linear-gradient(160deg,#4f7ef7 0%,#6a5cf6 58%,#8b5cf6 100%);border-color:rgba(255,255,255,.45);box-shadow:0 14px 26px -12px rgba(99,102,241,.75),inset 0 1px 0 rgba(255,255,255,.5);}html.force-m .home-hero .hh-big.hh-pos{background:linear-gradient(160deg,#FF2D8A 0%,#D6006E 55%,#B3005C 100%);border-color:rgba(255,255,255,.45);box-shadow:0 14px 26px -12px rgba(214,0,110,.75),inset 0 1px 0 rgba(255,255,255,.5);}html.force-m .home-hero .hh-big.hh-data .hb-ico,html.force-m .home-hero .hh-big.hh-pos .hb-ico{background:rgba(255,255,255,.26);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 6px 14px -6px rgba(9,16,40,.6);}html.force-m .home-hero .hh-big.hh-pos .hb-tx b{font-size:16.5px;}.member-line{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 12px;cursor:pointer;}#pos-member{height:74px;box-sizing:border-box;overflow:hidden;position:relative;}.pm-clear{position:absolute;top:5px;right:6px;width:22px;height:22px;padding:0;border:none;border-radius:50%;background:rgba(15,23,42,.08);color:#64748b;font-size:13px;line-height:1;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;transition:background .15s,color .15s,transform .15s;}.pm-clear:hover{background:#D6006E;color:#fff;transform:scale(1.1);}.pm-clear:active{transform:scale(.94);}.member-line .ml-name{flex:1;font-weight:600;}.member-line .ml-bal{font-size:12px;color:var(--teal);font-weight:600;}.pos-member-picked .pm-info{flex:1;min-width:0;line-height:1.35;}.pos-member-picked .pm-info b{font-size:14.5px;font-weight:800;color:#1e3a8a;}.pos-member-picked .pm-tel{font-size:11.5px;color:#94a3b8;}.pos-member-picked .pm-right{flex:none;text-align:right;line-height:1.3;max-width:152px;padding-right:26px;}.pos-member-picked .pm-right .ml-bal{font-size:12.5px;font-weight:700;color:var(--teal);}.pos-member-picked .pm-warn{font-size:11px;font-weight:700;color:#D6006E;margin-top:3px;white-space:nowrap;}.appt-item{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border-radius:12px;box-shadow:var(--shadow);margin-bottom:10px;}.appt-time{font-weight:700;color:var(--primary);min-width:88px;font-size:14px;}.appt-info{flex:1;}.license-card{display:flex;align-items:center;gap:14px;padding:16px;border-radius:12px;margin-bottom:16px;}.license-card.trial{background:#fefce8;border:1px solid #fde68a;}.license-card.active{background:#f0fdfa;border:1px solid #99f6e4;}.license-card.expired{background:#fee2e2;border:1px solid #fecaca;}.filter-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px;}.filter-bar .input,.filter-bar .select{width:auto;min-width:130px;}.filter-bar .btn-active{background:var(--primary);color:#fff;border-color:var(--primary);}.att-photo{width:46px;height:46px;object-fit:cover;border-radius:8px;cursor:zoom-in;border:1px solid var(--line);}.receipt{width:72mm;font-size:12px;color:#000;line-height:1.5;}.receipt .r-head{text-align:center;font-weight:700;font-size:14px;margin-bottom:4px;}.receipt .r-line{display:flex;justify-content:space-between;}.receipt .r-items{border-top:1px dashed #000;border-bottom:1px dashed #000;margin:6px 0;padding:4px 0;}.receipt .r-foot{text-align:center;margin-top:6px;}.god-game{position:relative;margin:2px 8px 8px;padding:2px 4px 4px;cursor:pointer;border:none;background:transparent;text-align:center;user-select:none;z-index:5;}.god-game:hover{box-shadow:0 0 16px 2px rgba(251,191,36,.25);border-radius:14px;}.god-game.lit{animation:none;box-shadow:none;}@keyframes ggGameGlow{0%,100%{box-shadow:0 0 10px 1px rgba(251,191,36,.18);}50%{box-shadow:0 0 26px 6px rgba(251,191,36,.4);}}.gg-scene{position:relative;height:122px;display:flex;align-items:flex-end;justify-content:center;background:transparent;overflow:visible;}.gg-god{position:relative;width:104px;height:104px;z-index:2;transform-origin:50% 100%;transition:transform .5s cubic-bezier(.55,0,.85,.4),opacity .3s;}.gg-god img{width:100%;height:100%;object-fit:contain;filter:none;transition:filter .5s ease;}.gg-god.lit img{filter:none;}.gg-hide{position:absolute;top:2px;right:0;padding:2px 7px;border-radius:999px;background:linear-gradient(135deg,#FF2D8A,#8A0047);color:#fff;font-size:11px;font-weight:700;opacity:0;pointer-events:none;transition:all .2s;box-shadow:0 2px 6px rgba(0,0,0,.3);z-index:4;}.gg-god:hover .gg-hide,.gg-god.hov .gg-hide{opacity:1;pointer-events:auto;}.gg-hide:hover{transform:scale(1.12);}.gg-halo{position:absolute;top:-16px;left:50%;transform:translateX(-50%) scale(.6);background:#fff;color:#D6006E;font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px;box-shadow:0 3px 10px rgba(0,0,0,.25);opacity:0;transition:all .3s;white-space:nowrap;z-index:3;}.gg-halo.show{opacity:1;transform:translateX(-50%) scale(1);animation:ggPop .4s cubic-bezier(.34,1.56,.64,1);}.gg-halo::after{content:'';position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#fff;}@keyframes ggPop{0%{transform:translateX(-50%) scale(.5);}70%{transform:translateX(-50%) scale(1.18);}100%{transform:translateX(-50%) scale(1);}}.gg-god.hide{transform:translateY(92px) scale(.08);opacity:0;pointer-events:none;}.gg-god.hide img{filter:grayscale(1) brightness(.8);}.gg-god.out{animation:ggGodOut 1.05s cubic-bezier(.5,.05,.3,1) both;}@keyframes ggGodOut{0%{transform:translateY(92px) scale(.08);opacity:0;}14%{opacity:1;transform:translateY(22px) scale(1.18) rotate(-9deg);}34%{transform:translateY(66px) scale(.86) rotate(6deg);}52%{transform:translateY(32px) scale(1.14) rotate(-5deg);}66%{transform:translateY(58px) scale(.94) rotate(3deg);}82%{transform:translateY(40px) scale(1.06) rotate(-2deg);}100%{transform:translateY(48px) scale(1) rotate(0deg);}}.gg-god.sit{animation:ggSit 1.2s ease-in-out infinite;}@keyframes ggSit{0%,100%{transform:translateY(48px) scale(1);}50%{transform:translateY(44px) scale(1.04);}}.gg-ingot{position:absolute;left:50%;bottom:6px;margin-left:-22px;width:44px;height:24px;background:linear-gradient(180deg,#fde68a,#f59e0b);border-radius:12px 12px 9px 9px;box-shadow:0 4px 10px rgba(0,0,0,.22);opacity:0;transform:scale(0);z-index:1;}.gg-ingot::before{content:'';position:absolute;top:-8px;left:50%;margin-left:-13px;width:26px;height:13px;background:linear-gradient(180deg,#fef3c7,#f59e0b);border-radius:7px 7px 4px 4px;}.gg-ingot::after{content:'';position:absolute;left:0;right:0;top:0;height:50%;background:linear-gradient(180deg,rgba(255,255,255,.55),transparent);border-radius:12px 12px 0 0;}.gg-ingot.fly{animation:ggIngotFly 1.05s cubic-bezier(.5,.05,.3,1) both;}@keyframes ggIngotFly{0%{transform:translateY(54px) scale(0);opacity:0;}16%{transform:translateY(8px) scale(1.22);opacity:1;}40%{transform:translateY(34px) scale(.88) rotate(-12deg);}60%{transform:translateY(12px) scale(1.14) rotate(7deg);}78%{transform:translateY(26px) scale(.95) rotate(-2deg);}100%{transform:translateY(24px) scale(1) rotate(0deg);}}.gg-spark{position:absolute;bottom:14px;width:5px;height:16px;border-radius:999px;background:linear-gradient(to top,rgba(251,191,36,0),rgba(253,230,138,.95));opacity:0;pointer-events:none;}.gg-spark.s1{left:26%;}.gg-spark.s2{left:46%;}.gg-spark.s3{left:64%;}.gg-spark.s4{left:80%;}.gg-spark.lit{animation:ggSparkUp 1.15s ease-out infinite;}.gg-spark.s1.lit{animation-delay:.05s;}.gg-spark.s2.lit{animation-delay:.3s;}.gg-spark.s3.lit{animation-delay:.5s;}.gg-spark.s4.lit{animation-delay:.18s;}@keyframes ggSparkUp{0%{opacity:0;transform:translateY(8px) scaleY(.6);}22%{opacity:1;}100%{opacity:0;transform:translateY(-122px) scaleY(1.2);}}.gg-wave{position:absolute;left:-20px;right:-20px;top:-118px;height:190px;pointer-events:none;background:linear-gradient(to top,rgba(251,191,36,0) 0%,rgba(251,191,36,.5) 55%,rgba(251,191,36,0) 100%);opacity:0;}.gg-wave.lit{animation:ggWave 1.5s ease-in-out infinite;}@keyframes ggWave{0%{opacity:0;transform:translateY(70px);}22%{opacity:.9;}55%{opacity:.45;transform:translateY(-10px);}100%{opacity:0;transform:translateY(-58px);}}.gg-btn-box{position:relative;margin-top:5px;transition:opacity .3s;}.god-game.lit .gg-btn-box{opacity:0;pointer-events:none;}.gg-tip{font-size:10px;color:#fde68a;opacity:0;transition:opacity .25s;padding-bottom:3px;white-space:nowrap;}.gg-btn-box:hover .gg-tip,.gg-btn-box:active .gg-tip{opacity:.95;}.gg-btn{display:inline-block;width:64%;padding:4px 0;font-size:13px;font-weight:800;letter-spacing:3px;color:#fff;background:linear-gradient(135deg,#FF2D8A,#8A0047);border-radius:999px;box-shadow:0 3px 8px rgba(255,45,138,.4);transition:all .2s;position:relative;z-index:3;}.gg-btn:hover{transform:translateY(-1px);filter:brightness(1.06);}.gg-btn:active{transform:scale(.96);}.gg-god.stand{animation:ggStandUp .45s cubic-bezier(.34,1.56,.64,1) forwards;}@keyframes ggStandUp{0%{transform:translateY(0) scale(1,1);}55%{transform:translateY(-12px) scale(1.08,.92) rotate(-3deg);}100%{transform:translateY(-9px) scale(1.05,.97) rotate(0deg);}}.gg-god.stand{filter:none;}.gg-god.stand img{filter:grayscale(0) brightness(1);}.gg-arm{position:absolute;right:-26px;top:-2px;font-size:34px;line-height:1;opacity:0;pointer-events:none;z-index:5;transform-origin:18% 70%;text-shadow:0 2px 4px rgba(0,0,0,.2);}.gg-arm.wave{opacity:1;animation:ggWaveArm .5s ease-in-out infinite;}@keyframes ggWaveArm{0%,100%{transform:rotate(-26deg) translateY(0);}50%{transform:rotate(30deg) translateY(-5px);}}.gg-head-txt{position:absolute;left:50%;top:-38px;transform:translateX(-50%) scale(.5);background:linear-gradient(135deg,#fde68a,#fbbf24);color:#78350f;font-size:13px;font-weight:800;padding:3px 12px;border-radius:999px;white-space:nowrap;opacity:0;z-index:6;box-shadow:0 4px 12px rgba(245,158,11,.4);border:1px solid #f59e0b;transition:all .25s;}.gg-head-txt.show{opacity:1;transform:translateX(-50%) scale(1);animation:ggTxtPop .4s cubic-bezier(.34,1.56,.64,1);}@keyframes ggTxtPop{0%{transform:translateX(-50%) scale(.4);}60%{transform:translateX(-50%) scale(1.2);}100%{transform:translateX(-50%) scale(1);}}.gg-bubble{position:absolute;left:50%;top:-112px;transform:translateX(-50%) translateY(10px);background:#fff;border:2px solid #f59e0b;color:#78350f;font-size:12.5px;font-weight:700;line-height:1.5;text-align:center;padding:8px 14px;border-radius:14px;max-width:230px;width:max-content;opacity:0;z-index:7;box-shadow:0 8px 24px rgba(245,158,11,.35);transition:all .25s;}.gg-bubble::after{content:'';position:absolute;bottom:-9px;left:50%;transform:translateX(-50%);border:8px solid transparent;border-top-color:#f59e0b;}.gg-bubble.show{opacity:1;transform:translateX(-50%) translateY(0);animation:ggTxtPop .35s cubic-bezier(.34,1.56,.64,1);}#gg-climber{position:fixed;left:0;top:0;z-index:9999;pointer-events:none;width:132px;height:132px;display:none;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));}#gg-climber img{width:100%;height:100%;object-fit:contain;filter:grayscale(0) brightness(1);}#gg-climber.jump img{animation:ggClimbJump .55s ease-in-out infinite;}@keyframes ggClimbJump{0%,100%{transform:translateY(0) rotate(-4deg) scale(.96);}50%{transform:translateY(-10px) rotate(5deg) scale(1.05);}}#gg-climber .gc-bubble{position:absolute;left:50%;top:-46px;transform:translateX(-50%);background:#fff;border:2px solid #f59e0b;color:#92400e;font-size:13px;font-weight:700;padding:4px 12px;border-radius:999px;white-space:nowrap;opacity:0;box-shadow:0 4px 14px rgba(0,0,0,.2);transition:opacity .2s;}#gg-climber .gc-ingot{position:absolute;left:50%;top:30px;font-size:44px;display:none;filter:drop-shadow(0 6px 12px rgba(245,158,11,.6));z-index:2;}.nav-item.nudge{animation:ggNudge .4s ease;color:var(--primary) !important;}@keyframes ggNudge{0%,100%{transform:translateX(0);}25%{transform:translateX(-5px) scale(1.05);}50%{transform:translateX(5px) scale(1.05);}75%{transform:translateX(-3px) scale(1.02);}}.today-big.boom{border-color:#fbbf24 !important;box-shadow:0 0 28px 4px rgba(251,191,36,.5) !important;animation:ggBoomGlow 1.2s ease-in-out infinite;}@keyframes ggBoomGlow{0%,100%{box-shadow:0 0 18px 2px rgba(251,191,36,.35);}50%{box-shadow:0 0 40px 12px rgba(251,191,36,.6);}}.tb-value.boom-n{color:#f59e0b !important;animation:ggNumBoom .5s cubic-bezier(.34,1.56,.64,1);text-shadow:0 0 14px rgba(245,158,11,.8);}@keyframes ggNumBoom{0%{transform:scale(1);}50%{transform:scale(1.45);}100%{transform:scale(1.12);}}.gold-rain{position:absolute;top:-18px;font-size:22px;pointer-events:none;animation:ggGoldFall 2.8s linear infinite;z-index:3;}@keyframes ggGoldFall{0%{transform:translateY(0) rotate(0deg);opacity:1;}100%{transform:translateY(150px) rotate(360deg);opacity:0;}}.low-bal-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;font-size:13px;background:linear-gradient(90deg,rgba(245,158,11,.14),rgba(245,158,11,.05));border:1px solid rgba(245,158,11,.35);color:#92610a;}.low-bal-bar b{font-size:15px;}tr.row-low-bal{background:rgba(245,158,11,.08);}tr.row-low-bal:hover{background:rgba(245,158,11,.14);}#gg-climber.crawl{transform-origin:50% 85%;}#gg-climber.crawl img{animation:ggCrawlBody .45s ease-in-out infinite alternate;transform:rotate(-14deg);}@keyframes ggCrawlBody{from{transform:rotate(-14deg) translateY(1px);}to{transform:rotate(-6deg) translateY(-3px);}}#gg-climber.walk img{animation:ggWalkBob .5s ease-in-out infinite;}@keyframes ggWalkBob{0%,100%{transform:rotate(-3deg) translateY(0);}50%{transform:rotate(3deg) translateY(-5px);}}.gg-god.gg-gone{opacity:0 !important;pointer-events:none;transform:scale(.5);transition:all .4s;}.gg-smoke{position:fixed;top:0;left:0;z-index:10001;pointer-events:none;background:radial-gradient(ellipse at center,rgba(255,242,180,.95) 0%,rgba(251,191,36,.8) 42%,rgba(245,158,11,.5) 68%,transparent 100%);border-radius:50%;opacity:0;filter:blur(1.5px) drop-shadow(0 0 14px rgba(251,191,36,.75));animation:ggSmokeRise 6s ease-in forwards;}@keyframes ggSmokeRise{0%{bottom:var(--smoke-bottom,500px);top:auto;transform:translateX(-50%) translateY(0) scale(.45);opacity:0;}7%{opacity:.9;}28%{transform:translateX(-42%) translateY(-110px) scale(1.08);opacity:.85;}50%{transform:translateX(-47%) translateY(-230px) scale(.92);opacity:.72;}72%{transform:translateX(-40%) translateY(-360px) scale(.72);opacity:.5;}100%{bottom:-180px;top:auto;transform:translateX(-44%) translateY(-520px) scale(.5);opacity:0;}}.cg-box{margin:4px 8px 8px;text-align:center;position:relative;}.cg-stage{display:flex;justify-content:center;align-items:flex-end;min-height:0;padding-top:16px;}.cg-god{position:relative;width:134px;display:inline-block;}.cg-god.hide{display:none;}.cg-pop{animation:cgIn .62s cubic-bezier(.22,1.2,.36,1) both;}.cg-spin{width:100%;}.cg-spin img{width:100%;display:block;user-select:none;filter:drop-shadow(0 10px 20px rgba(0,0,0,.3));}.cg-fx{position:absolute;inset:-6px 0 0;pointer-events:none;z-index:5;}.cg-fx-i{position:absolute;top:-18px;opacity:0;animation-name:cgFall;animation-timing-function:linear;animation-iteration-count:infinite;display:block;}.cg-fx-i svg{width:100%;height:100%;display:block;}.cg-fx-i::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 120%,rgba(255,255,255,.35),transparent 70%);}.cg-hide{position:absolute;top:-6px;right:-8px;z-index:8;font-size:12px;line-height:1;padding:5px 11px;border-radius:999px;background:linear-gradient(180deg,#f87171,#FF2D8A);color:#fff;border:0;cursor:pointer;box-shadow:0 3px 10px rgba(255,45,138,.42);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;}.cg-god:hover .cg-hide{opacity:1;pointer-events:auto;}.cg-hide:hover{transform:scale(1.08);filter:brightness(1.05);}.cg-btn{font-size:13px;font-weight:700;color:#7a3d00;background:linear-gradient(180deg,#ffe9a8,#f7c948);border:1px solid #dfa72c;border-radius:999px;padding:5px 16px;cursor:pointer;box-shadow:0 2px 10px rgba(190,120,0,.28);transition:transform .15s,filter .15s;}.cg-btn:hover{transform:translateY(-1px);filter:brightness(1.06);}.cg-btn:active{transform:scale(.96);}.cg-btn.hide{display:none;}@keyframes cgIn{from{opacity:0;transform:translateY(16px) scale(.84);}to{opacity:1;transform:none;}}@keyframes cgFall{0%{transform:translateY(-16px) rotate(0deg);opacity:0;}12%{opacity:1;}70%{opacity:1;}92%{opacity:.55;}100%{transform:translateY(185px) rotate(340deg);opacity:0;}}@keyframes cgTitle{0%{opacity:0;transform:translateX(-50%) translateY(6px);}6%{opacity:1;transform:translateX(-50%) translateY(0);}88%{opacity:1;}100%{opacity:0;}}.rp-click{cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s;}.rp-click:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(190,24,74,.16);border-color:#f6b8cb;}.rp-click:active{transform:scale(.98);}.mf-depts{display:flex;flex-wrap:wrap;gap:8px;}.mf-dept{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1.5px solid var(--line);border-radius:9px;font-size:13.5px;cursor:pointer;background:#fff;transition:all .15s;}.mf-dept:hover{border-color:var(--brand,#a8123f);}.mf-dept input{margin:0;cursor:pointer;}.mf-dept:has(input:checked){border-color:var(--brand,#a8123f);background:rgba(168,18,63,.07);font-weight:600;color:var(--brand,#a8123f);}.mf-join{display:flex;align-items:center;gap:14px;margin-top:8px;padding:12px 14px;border:1px dashed var(--brand,#a8123f);border-radius:12px;background:rgba(168,18,63,.035);}.mf-join-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;}.mf-join-txt b{font-size:13.5px;color:var(--brand,#a8123f);}.mf-join-txt span{font-size:12px;color:var(--ink-3);line-height:1.65;}.mf-join-qr{width:108px;height:108px;flex:none;border-radius:9px;background:#fff;padding:4px;box-shadow:0 1px 4px rgba(16,24,40,.1);}.sf-photo{width:132px;height:172px;border-radius:12px;overflow:hidden;flex:none;background:linear-gradient(160deg,#e9edf3,#dde3ec);border:1px dashed #c2cad6;display:grid;place-items:center;}.sf-photo img{width:100%;height:100%;object-fit:cover;display:block;}.sf-ph-empty{text-align:center;color:#98a2b3;}.sf-ph-empty svg{width:44px;height:44px;display:block;margin:0 auto 6px;}.sf-ph-empty i{font-style:normal;font-size:12px;}.sf-photo-note{font-size:11.5px;color:var(--ink-3);margin-top:6px;text-align:center;}.sf-sec{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--teal,#0d9488);margin:16px 0 10px;letter-spacing:.5px;}.sf-sec::before{content:'';width:4px;height:14px;border-radius:2px;background:linear-gradient(180deg,#4f7ef7,#8b5cf6);}.sf-sep{border:0;height:1px;margin:16px 0;background:linear-gradient(90deg,rgba(99,102,241,0),rgba(99,102,241,.35),rgba(99,102,241,0));}.sf-ph-empty.opt{width:100%;aspect-ratio:3/4;border:1px dashed #c2cad6;border-radius:10px;display:grid;place-items:center;background:#f1f4f8;color:#98a2b3;}.ap-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0;}.ap-stat{position:relative;background:#fff;border:0;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;aspect-ratio:1 / 1;padding:8px 6px;box-shadow:0 6px 16px -12px rgba(15,23,42,.22);}.ap-stat-ico{width:auto;height:auto;font-size:18px;line-height:1;display:block;background:none !important;margin-bottom:4px;}.ap-stat-main{min-width:0;}.ap-stat-main b{display:block;font-size:11.5px;color:var(--ink-3,#64748b);font-weight:600;font-style:normal;}.ap-stat-main em{display:block;font-size:20px;font-weight:800;color:#0f172a;line-height:1.15;font-style:normal;}.ap-stat-main i{font-style:normal;font-size:10.5px;white-space:nowrap;}.ap-stat-main i.up{color:#10b981;}.ap-stat-main i.down{color:#FF2D8A;}@media (max-width:720px){.ap-stats{grid-template-columns:repeat(2,1fr);}}.ap-main{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start;}.ap-left{min-width:0;}.ap-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:12px;}.ap-panel{background:#fff;border:0;border-radius:14px;padding:14px 14px 8px;box-shadow:0 6px 16px -12px rgba(15,23,42,.2);}.ap-panel-title{font-size:14px;font-weight:700;color:#0f172a;display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;}.ap-panel-more{font-size:12px;color:#4f7ef7;font-weight:500;text-decoration:none;}.ap-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:8px;}.ap-quick-btn{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 6px;background:#f5f8fd;border:0;border-radius:12px;cursor:pointer;transition:.2s;}.ap-quick-btn:hover{background:#e9effb;transform:translateY(-1px);}.ap-quick-btn span{font-size:21px;line-height:1;}.ap-quick-btn em{font-style:normal;font-size:12px;color:#334155;font-weight:600;}.ap-hot-item{padding:9px 0;border-top:1px dashed #e2e8f0;}.ap-hot-item:first-child{border-top:0;}.ap-hot-item b{font-size:13px;color:#0f172a;font-weight:600;}.ap-hot-meta{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#64748b;margin-top:3px;flex-wrap:wrap;}.ap-hot-tag{font-size:10.5px;padding:1px 6px;border-radius:6px;font-weight:600;}.ap-hot-tag.vip{background:#fff3e0;color:#ea580c;}.ap-hot-tag.new{background:#e8f7ef;color:#0e9f6e;}.ap-hot-tag.rep{background:#e8f0fe;color:#2f6fed;}.ap-hot-list:not(.expanded) .ap-hot-item:nth-child(n+4){display:none;}.mod-list{display:flex;flex-direction:column;gap:8px;}.mod-row{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#f6f8fc;border-radius:10px;font-size:13.5px;}.mod-row b{color:#0f172a;min-width:80px;}.mod-row span{color:#64748b;}.print-sheet{background:#fff;border:1px dashed #cbd5e1;border-radius:10px;padding:12px;font-size:13px;line-height:1.9;color:#334155;}@media (max-width:900px){.ap-main{grid-template-columns:1fr;}.ap-side{position:static;}}@media print{.ap-side,.filter-bar,.page-head,.ap-stats,.ap-staff-bar,.nav-side,.m-top{display:none !important;}.ap-main{display:block;}}html.force-m .home-hero{background:linear-gradient(180deg,rgba(9,22,15,.26) 0%,rgba(9,22,15,.06) 42%,rgba(12,26,18,.30) 70%,rgba(255,255,255,0) 86%,#ffffff 100%),url('../img/home-hero-bg.png') center 12% / cover no-repeat;box-shadow:0 16px 30px -18px rgba(6,26,17,.55);}html.force-m .home-hero::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(52% 40% at 86% 4%,rgba(255,255,255,.10),rgba(255,255,255,0) 70%);}html.force-m .home-hero::after{display:none;}html.force-m .home-hero .hh-store{font-size:21px;font-weight:800;letter-spacing:.5px;text-shadow:0 2px 10px rgba(0,0,0,.35);}html.force-m .hh-avatar{width:38px;height:38px;border-radius:50%;flex:none;overflow:hidden;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1.5px solid rgba(233,205,135,.8);color:#fff;text-decoration:none;box-shadow:0 4px 12px -4px rgba(0,0,0,.4);font-size:15px;font-weight:700;}html.force-m .hh-avatar .av-img{width:38px;height:38px;border-radius:50%;object-fit:cover;}html.force-m .hh-avatar .av-fallback{display:grid;place-items:center;color:#fff;}html.force-m .home-hero .hh-big.hh-data{background:linear-gradient(160deg,rgba(29,68,51,.92) 0%,rgba(16,41,28,.94) 100%);border-color:rgba(233,205,135,.55);box-shadow:0 14px 26px -12px rgba(6,26,17,.8),inset 0 1px 0 rgba(255,255,255,.22);}html.force-m .home-hero .hh-big.hh-pos{background:linear-gradient(160deg,#f6e3b4 0%,#e9c880 55%,#d2a845 100%);border-color:rgba(255,255,255,.75);box-shadow:0 14px 26px -12px rgba(160,120,30,.8),inset 0 1px 0 rgba(255,255,255,.7);}html.force-m .home-hero .hh-big.hh-data .hb-ico{background:linear-gradient(160deg,rgba(233,205,135,.45),rgba(233,205,135,.14));}html.force-m .home-hero .hh-big.hh-pos .hb-ico{background:rgba(255,255,255,.55);color:#8a6a1a;}html.force-m .home-hero .hh-big.hh-pos .hb-tx b{color:#3d2f14;}html.force-m .home-hero .hh-big.hh-pos .hb-tx i{color:#5c4a24;opacity:1;}html.force-m .home-hero .hh-foot{color:#e9cd87;opacity:1;font-weight:600;letter-spacing:.4px;}html.force-m .home-body{background:#fff;border-radius:24px 24px 0 0;margin-top:-20px;padding:16px 14px calc(96px + env(safe-area-inset-bottom,0px));position:relative;}html.force-m .hm-group{background:#f8fafc;border:1px solid #eef1f6;border-radius:18px;box-shadow:0 6px 16px -12px rgba(16,24,40,.14);}html.force-m .hm-title::before{background:linear-gradient(180deg,#d4a137,#8a6a1a);}html.force-m .home-tail{color:#a8b0bc;}html.force-m .home-hero{padding-top:18px;}html.force-m .home-hero .hh-top{margin-top:8px;margin-bottom:14px;}html.force-m .hh-avatar{display:none !important;}html.force-m .home-hero .hh-search{margin-top:44px;margin-bottom:18px;}html.force-m .home-hero .hh-search input{background:rgba(6,18,12,.50);border:1px solid rgba(255,255,255,.24);color:#fff;box-shadow:0 8px 18px -10px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.18);}html.force-m .home-hero .hh-search input::placeholder{color:rgba(255,255,255,.74);}html.force-m .home-hero .hh-search .s-ico{color:rgba(255,255,255,.88);}html.force-m .home-hero .hh-big{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:10px 8px 8px;border-radius:18px;width:42%;max-width:215px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:13px;}html.force-m .home-hero .hh-big .hb-ico svg{width:22px;height:22px;}html.force-m .home-hero .hh-big .hb-tx{text-align:center;align-items:center;}html.force-m .home-hero .hh-big .hb-tx b{font-size:15px;}html.force-m .home-hero .hh-big .hb-tx i{font-size:11px;}html.force-m .home-hero .hh-main{display:flex;justify-content:center;gap:22px;margin-top:12px;margin-bottom:6px;}html.force-m .hm-group{background:linear-gradient(180deg,#fbfcfb,#f4f8f4);border:1px solid #e8efe9;border-radius:18px;box-shadow:0 6px 16px -12px rgba(13,37,26,.16);}html.force-m .hm-title{color:#1d4433;font-weight:800;}html.force-m .hm-title::before{background:linear-gradient(180deg,#e9c880,#8a6a1a);box-shadow:0 0 8px rgba(212,161,55,.5);}html.force-m .hm-cell{background:transparent;border:0;box-shadow:none;}html.force-m .home-hero{padding-top:12px;}html.force-m .home-hero .hh-foot{margin-top:90px;text-align:left;padding-left:12px;font-size:11px;}html.force-m .home-hero .hh-top{margin-top:10px;margin-bottom:0;padding-left:10px;}html.force-m .home-hero .hh-store{font-size:20px;}html.force-m .home-hero .hh-search{display:flex;align-items:center;gap:4px;height:46px;margin-top:26px;margin-bottom:0;padding:0 8px 0 16px;border-radius:23px;background:rgba(6,18,12,.55);border:1px solid rgba(255,255,255,.24);box-shadow:0 8px 18px -10px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.18);}html.force-m .home-hero .hh-search .s-ico{position:static;transform:none;color:rgba(255,255,255,.85);flex:none;}html.force-m .home-hero .hh-search input{flex:1;min-width:0;height:100%;padding:0 6px;background:transparent;border:0;color:#fff;font-size:13.5px;outline:none;}html.force-m .home-hero .hh-search input::placeholder{color:rgba(255,255,255,.72);}html.force-m .home-hero .hh-search .hh-scan{display:none !important;}html.force-m .home-hero .hh-main{margin-top:16px;margin-bottom:8px;}html.force-m .home-body{padding:3px 12px 0;margin-top:-14px;}html.force-m .hm-group{padding:2px 10px;border-radius:16px;margin-bottom:10px;}html.force-m .hm-title{font-size:14px;margin:0 6px 7px;display:flex;align-items:center;justify-content:flex-start;}html.force-m .hm-more{margin-left:8px;}html.force-m .hm-grid{gap:2px 2px;}html.force-m .hm-cell{padding:0 2px 1px;gap:5px;font-size:14px;}html.force-m .hm-cell .hm-ico{width:80px;height:80px;border-radius:24px;background:linear-gradient(155deg,var(--c1,#5aa2fd),var(--c2,#2563eb));box-shadow:0 9px 16px -7px var(--cs,rgba(37,99,235,.55)),0 3px 6px -3px var(--cs,rgba(37,99,235,.45)),inset 0 1px 0 rgba(255,255,255,.5),inset 0 -2px 4px rgba(0,0,0,.14);color:#fff;}html.force-m .hm-cell .hm-ico::before{display:block;}html.force-m .hm-cell .hm-ico svg{width:43px;height:43px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.16));}html.force-m .hm-cell .tx{color:#33443b;}html.force-m .hm-grid{row-gap:22px;column-gap:14px;}html.force-m .home-tail{padding:0;font-size:10.5px;}html.force-m .hm-more{border:0;background:linear-gradient(180deg,#e9c880,#d2a845);color:#3d2f14;font-size:11px;font-weight:700;padding:5px 12px;border-radius:999px;box-shadow:0 3px 8px -3px rgba(160,120,30,.6);cursor:pointer;}html.force-m .hm-more-mask{position:fixed;inset:0;z-index:960;background:rgba(10,20,14,.55);display:flex;align-items:flex-end;justify-content:center;}html.force-m .hm-more-mask.hidden{display:none;}html.force-m .hm-more-panel{width:100%;max-height:74vh;overflow-y:auto;background:#fff;border-radius:20px 20px 0 0;padding:16px 14px 18px;box-shadow:0 -10px 30px rgba(0,0,0,.2);}html.force-m .hm-more-title{font-size:15px;font-weight:800;color:#1d4433;display:flex;align-items:center;gap:8px;margin-bottom:12px;}html.force-m .hm-more-bar{width:5px;height:18px;border-radius:4px;background:linear-gradient(180deg,#e9c880,#8a6a1a);}html.force-m .hm-more-grid .hm-cell .hm-ico{width:60px;height:60px;border-radius:19px;background:linear-gradient(155deg,var(--c1,#5aa2fd),var(--c2,#2563eb));box-shadow:0 9px 16px -7px var(--cs,rgba(37,99,235,.55)),inset 0 1px 0 rgba(255,255,255,.5);color:#fff;}html.force-m .hm-more-grid .hm-cell .hm-ico::before{display:block;}html.force-m .hm-more-grid .hm-cell .hm-ico svg{width:32px;height:32px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.16));}html.force-m .hm-more-close{width:100%;margin-top:14px;padding:10px 0;border:0;border-radius:12px;background:#f1f4f1;color:#1d4433;font-size:13px;font-weight:700;cursor:pointer;}html.force-m .home-hero .hh-search{margin-top:48px;}html.force-m .home-hero .hh-main{margin-top:12px;}html.force-m .hm-cell{padding:0 2px 1px;}html.force-m .qp-mask{position:fixed;inset:0;z-index:970;background:rgba(10,20,14,.5);display:flex;align-items:center;justify-content:center;}html.force-m .qp-panel{width:320px;max-width:88vw;background:#fff;border-radius:20px;padding:20px 18px 16px;box-shadow:0 20px 50px rgba(0,0,0,.3);}html.force-m .qp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;}html.force-m .qp-head b{font-size:17px;font-weight:800;color:#1d4433;}html.force-m .qp-x{width:30px;height:30px;border-radius:50%;border:0;background:#D6006E;color:#fff;font-size:16px;line-height:1;cursor:pointer;}html.force-m .qp-row{margin-bottom:14px;}html.force-m .qp-row label{display:block;font-size:12px;color:#64748b;margin-bottom:6px;font-weight:600;}html.force-m .qp-amt{width:100%;box-sizing:border-box;height:54px;border:2px solid #e9c880;border-radius:14px;font-size:26px;font-weight:800;color:#1d4433;text-align:center;outline:none;background:#fdfaf3;}html.force-m .qp-method{width:100%;box-sizing:border-box;height:44px;border:1px solid #dfe5e0;border-radius:12px;font-size:14px;color:#1d4433;padding:0 10px;background:#fff;}html.force-m .qp-note{width:100%;box-sizing:border-box;height:42px;border:1px solid #dfe5e0;border-radius:12px;font-size:13px;color:#0f172a;padding:0 12px;outline:none;}html.force-m .qp-btns{display:flex;gap:10px;margin-top:18px;}html.force-m .qp-cancel{flex:1;height:44px;border:1px solid #dfe5e0;border-radius:12px;background:#fff;color:#64748b;font-size:14px;font-weight:700;cursor:pointer;}html.force-m .qp-ok{flex:1;height:44px;border:0;border-radius:12px;background:linear-gradient(135deg,#1d4433,#0f2a1e);color:#fff;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px rgba(16,41,28,.3);}html.force-m .qp-ok:disabled{opacity:.6;}.btn-primary{background:linear-gradient(135deg,#e9c880,#c99a2e);color:#3d2f14;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.14),0 3px 12px rgba(201,154,46,.26);}.btn-primary:hover{box-shadow:0 6px 18px rgba(201,154,46,.38);}.btn-primary:disabled{opacity:.55;}.btn-red,.btn-red.btn-primary,.btn-red.btn-teal{background:linear-gradient(135deg,#D6006E,#8A0047) !important;color:#fff !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(0,0,0,.16),0 3px 12px rgba(214,0,110,.3) !important;}.btn-red:hover,.btn-red.btn-primary:hover{box-shadow:0 6px 18px rgba(214,0,110,.42) !important;}html.force-m .btn-primary{background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 16px -6px rgba(214,0,110,.5);}html.force-m .btn-primary:hover{filter:brightness(1.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 8px 20px -6px rgba(214,0,110,.6);}html.force-m .btn-primary:disabled{opacity:.55;}html.force-m .qp-ok{background:linear-gradient(135deg,#1d4433,#0f2a1e);color:#fff;box-shadow:0 4px 12px rgba(16,41,28,.3);}#quick-pay-btn.btn-ghost,#pos-sign-btn.btn-ghost{background:linear-gradient(135deg,#e9c880,#c99a2e);color:#3d2f14;border:0;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -2px 0 rgba(0,0,0,.12),0 3px 10px rgba(201,154,46,.25);}#quick-pay-btn.btn-ghost:hover,#pos-sign-btn.btn-ghost:hover{box-shadow:0 6px 16px rgba(201,154,46,.36);}.chip.active,.chip-takeout.active{background:linear-gradient(135deg,#e9c880,#c99a2e) !important;color:#3d2f14 !important;border:0 !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -2px 0 rgba(0,0,0,.12),0 3px 10px rgba(201,154,46,.28);}.pay-method.active{border-color:var(--teal);background:var(--teal-light);color:var(--teal);font-weight:600;box-shadow:0 0 0 2px rgba(13,148,136,.15),0 4px 12px rgba(13,148,136,.18);}.pay-method:hover{border-color:var(--teal);background:var(--teal-light);color:var(--teal);transform:translateY(-2px);box-shadow:0 0 0 2px rgba(13,148,136,.12),0 5px 12px rgba(13,148,136,.16);}#pos-submit{background:linear-gradient(135deg,#D6006E,#8A0047) !important;color:#fff !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(0,0,0,.16),0 3px 10px rgba(214,0,110,.30) !important;}#pos-submit:hover{box-shadow:0 6px 16px rgba(214,0,110,.42) !important;}.btn-teal{background:linear-gradient(135deg,#a8ba99,#70855f) !important;color:#fff !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.16),0 3px 10px rgba(112,133,95,.25) !important;}.btn-teal:hover{box-shadow:0 5px 14px rgba(112,133,95,.35) !important;}.mcard-mini.times{background:linear-gradient(135deg,#a8ba99,#70855f) !important;color:#fff !important;}.mcard-lg.times{background:linear-gradient(135deg,#9bab8c,#5f7250) !important;color:#fff !important;}.t-received{background:linear-gradient(135deg,#a8ba99,#70855f) !important;}html.force-m #comm-open-new{display:none !important;}html.force-m .m-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 2px 16px;}html.force-m .m-title{font-size:20px;font-weight:800;color:#0f172a;letter-spacing:.2px;}html.force-m .m-head-btn{height:36px;padding:0 16px;border-radius:12px;border:none;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:13px;font-weight:700;position:relative;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 6px 14px -6px rgba(214,0,110,.5);text-decoration:none;display:inline-flex;align-items:center;gap:4px;cursor:pointer;}html.force-m .m-head-btn::before{content:'';position:absolute;right:-12px;top:-20px;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.16);}html.force-m .m-head-btn::after{content:'';position:absolute;left:8px;top:-14px;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.10);}html.force-m .m-head-btn:active{opacity:.88;}html.force-m .m-sub-btn{height:34px;padding:0 14px;border-radius:999px;border:1px solid #cbd5e1;background:linear-gradient(180deg,#ffffff,#f1f5f9);color:#475569;font-size:12.5px;font-weight:600;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 3px rgba(15,23,42,.08);}html.force-m .m-sub-btn:active{background:linear-gradient(180deg,#eef2f7,#e2e8f0);}html.force-m .m-card{background:#fff;border:1px solid #eceff3;border-radius:16px;box-shadow:0 2px 8px rgba(15,23,42,.07);}html.force-m .m-sec-title{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:#0f172a;padding:0 2px;margin:18px 0 10px;}html.force-m .m-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #eceff3;border-radius:14px;padding:12px 14px;margin-bottom:10px;box-shadow:0 2px 8px rgba(15,23,42,.07);}html.force-m .m-row:active{background:#fafbfc;}html.force-m .m-row-av{width:44px;height:44px;border-radius:12px;overflow:hidden;flex:none;display:grid;place-items:center;}html.force-m .m-row-av img,html.force-m .m-row-av .av-fallback{width:44px;height:44px;border-radius:12px;object-fit:cover;}html.force-m .m-row-inf{flex:1;min-width:0;}html.force-m .m-row-l1{font-size:15px;font-weight:700;color:#0f172a;display:flex;align-items:center;gap:7px;}html.force-m .m-row-l2{font-size:11.5px;color:#94a3b8;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}html.force-m .m-row-l2 b{color:#0d9488;font-weight:600;}html.force-m .m-row-act{display:flex;gap:8px;align-items:center;flex:none;}html.force-m .m-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;font-size:10.5px;font-weight:600;white-space:nowrap;}html.force-m .m-badge.ok{background:#d1fae5;color:#059669;}html.force-m .m-badge.warn{background:#fef3c7;color:#b45309;}html.force-m .m-badge.danger{background:#FFE8F2;color:#D6006E;}html.force-m .m-badge.gray{background:#f1f5f9;color:#64748b;}html.force-m .m-badge.teal{background:#ccfbf1;color:#0d9488;}html.force-m .m-badge.blue{background:#e0f2fe;color:#0284c7;}html.force-m .m-del{height:32px;padding:0 14px;border-radius:10px;border:1px solid #FFD3E6;background:linear-gradient(180deg,#FFF0F6,#FFE8F2);color:#D6006E;font-size:12.5px;font-weight:600;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 3px rgba(214,0,110,.08);}html.force-m .m-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}html.force-m .m-stat{background:#fff;border:1px solid #eceff3;border-radius:14px;padding:12px 14px;box-shadow:0 2px 8px rgba(15,23,42,.06);}html.force-m .m-stat .lb{font-size:11px;color:#64748b;font-weight:600;}html.force-m .m-stat .vl{font-size:19px;font-weight:800;color:#0f172a;margin:4px 0 2px;letter-spacing:-.3px;white-space:nowrap;}html.force-m .m-stat .sb{font-size:10px;color:#94a3b8;}html.force-m .m-stat.blue{background:#e0f2fe;}html.force-m .m-stat.blue .vl{color:#0284c7;}html.force-m .m-stat.green{background:#d1fae5;}html.force-m .m-stat.green .vl{color:#059669;}html.force-m .m-stat.pink{background:#FFE8F2;}html.force-m .m-stat.pink .vl{color:#D6006E;}html.force-m .m-stat.amber{background:#fef3c7;}html.force-m .m-stat.amber .vl{color:#b45309;}html.force-m .m-stat.purple{background:#f3e8ff;}html.force-m .m-stat.purple .vl{color:#7c3aed;}html.force-m .m-stat.gray{background:#f1f5f9;}html.force-m .m-stat.gray .vl{color:#475569;}html.force-m .m-today{background:#fff;border:1px solid #eceff3;border-radius:18px;padding:15px 18px 13px;box-shadow:0 2px 10px rgba(15,23,42,.07);margin-bottom:14px;position:relative;overflow:hidden;}html.force-m .m-today::before{content:'';position:absolute;right:-26px;top:-42px;width:120px;height:120px;border-radius:50%;background:rgba(214,0,110,.06);}html.force-m .m-today .m-today-lb{font-size:12px;font-weight:600;color:#64748b;}html.force-m .m-today .m-today-num{font-size:31px;font-weight:800;letter-spacing:-.5px;margin:4px 0 6px;color:#D6006E;font-variant-numeric:tabular-nums;}html.force-m .m-today .m-today-sub{font-size:11px;color:#94a3b8;line-height:1.5;}html.force-m .m-ch-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}html.force-m .m-ch-card{border-radius:14px;padding:12px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 1px 3px rgba(15,23,42,.05);cursor:pointer;}html.force-m .m-ch-card:active{filter:brightness(.97);}html.force-m .m-ch-card .m-ch-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}html.force-m .m-ch-card .m-ch-ico{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;}html.force-m .m-ch-card .m-ch-ico svg{width:16px;height:16px;}html.force-m .m-ch-card .m-ch-cnt{font-size:10px;color:rgba(15,23,42,.55);font-weight:600;}html.force-m .m-ch-card .m-ch-val{font-size:17px;font-weight:800;color:#0f172a;letter-spacing:-.3px;white-space:nowrap;}html.force-m .m-ch-card .m-ch-name{font-size:10.5px;color:rgba(15,23,42,.55);margin-top:2px;font-weight:600;}html.force-m .m-ch-card.blue{background:#e0f2fe;}html.force-m .m-ch-card.blue .m-ch-ico{background:#bae6fd;color:#0369a1;}html.force-m .m-ch-card.green{background:#d1fae5;}html.force-m .m-ch-card.green .m-ch-ico{background:#a7f3d0;color:#047857;}html.force-m .m-ch-card.pink{background:#FFE8F2;}html.force-m .m-ch-card.pink .m-ch-ico{background:#FFD3E6;color:#B3005C;}html.force-m .m-ch-card.amber{background:#fef3c7;}html.force-m .m-ch-card.amber .m-ch-ico{background:#fde68a;color:#b45309;}html.force-m .m-ch-card.purple{background:#f3e8ff;}html.force-m .m-ch-card.purple .m-ch-ico{background:#e9d5ff;color:#6d28d9;}html.force-m .m-ch-card.gray{background:#f1f5f9;}html.force-m .m-ch-card.gray .m-ch-ico{background:#e2e8f0;color:#475569;}html.force-m .m-check-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #eceff3;border-radius:12px;padding:10px 14px;margin-bottom:8px;box-shadow:0 1px 4px rgba(15,23,42,.05);cursor:pointer;}html.force-m .m-check-row:active{background:#fafbfc;}html.force-m .m-check-row .m-ck-n{font-size:13px;font-weight:700;color:#0f172a;}html.force-m .m-check-row .m-ck-s{font-size:10.5px;color:#94a3b8;margin-top:2px;}html.force-m .m-check-row .m-ck-v{margin-left:auto;font-size:14px;font-weight:800;color:#0f172a;}html.force-m .m-empty{text-align:center;color:#94a3b8;font-size:12.5px;padding:30px 0;}html.force-m .m-addbar{position:fixed;left:16px;right:16px;bottom:calc(61px + env(safe-area-inset-bottom,0px) + 14px);z-index:940;}html.force-m .m-addbar button{width:100%;height:50px;border-radius:16px;border:none;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:16px;font-weight:700;letter-spacing:1px;position:relative;overflow:hidden;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px -8px rgba(214,0,110,.6);}html.force-m .m-addbar button::before{content:'';position:absolute;right:-18px;top:-34px;width:96px;height:96px;border-radius:50%;background:rgba(255,255,255,.16);}html.force-m .m-addbar button::after{content:'';position:absolute;left:16px;top:-26px;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.10);}html.force-m .m-addbar button:active{opacity:.9;}html.force-m .m-filter-row{margin-bottom:10px;}html.force-m .m-filter-row .input{width:100%;box-sizing:border-box;height:42px;border-radius:14px;border:1.5px solid #cfd6e0;background:#fff;font-size:14px;color:#0f172a;padding:0 12px;box-shadow:0 2px 8px rgba(15,23,42,.08);}html.force-m .m-pager{padding:10px 0 20px;}html.force-m .m-pager .pager{justify-content:center;gap:12px;padding:12px 2px 0;}html.force-m .m-pager .pager .btn{height:38px;border-radius:12px;padding:0 20px;}html.force-m .modal .table-wrap{overflow-x:auto;}html.force-m .m-lic{display:flex;align-items:center;gap:8px;border-radius:12px;padding:9px 12px;font-size:12px;margin-bottom:12px;}html.force-m .m-lic.ok{background:#d1fae5;color:#047857;}html.force-m .m-lic.warn{background:#fef3c7;color:#b45309;}html.force-m .m-lic.err{background:#FFE8F2;color:#B3005C;}html.force-m .m-appt-t{flex:none;width:46px;height:46px;border-radius:12px;background:#FFF0F6;border:1px solid #FFE8F2;display:flex;flex-direction:column;align-items:center;justify-content:center;}html.force-m .m-appt-t b{font-size:14px;font-weight:800;color:#B3005C;line-height:1;font-variant-numeric:tabular-nums;}html.force-m .m-appt-t i{font-style:normal;font-size:8.5px;color:#94a3b8;margin-top:3px;}html.force-m .m-okbtn{height:32px;padding:0 15px;border-radius:10px;border:none;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:12.5px;font-weight:700;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 3px 8px -3px rgba(214,0,110,.5);}html.force-m .m-okbtn:active{opacity:.88;}html.force-m .m-inv-stock{flex:none;text-align:center;margin-right:2px;min-width:44px;}html.force-m .m-inv-stock b{font-size:19px;font-weight:800;color:#0f172a;display:block;line-height:1;font-variant-numeric:tabular-nums;}html.force-m .m-inv-stock.low b{color:#D6006E;}html.force-m .m-inv-stock i{font-style:normal;font-size:10px;color:#94a3b8;}html.force-m body[data-theme] .btn-primary{background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 16px -6px rgba(214,0,110,.5);}html.force-m body{font-size:15px;}html.force-m .m-row-l2{font-size:12.5px;color:#64748b;}html.force-m .m-row-l2 b{color:#0d9488;font-weight:700;}html.force-m .m-badge{font-size:12px;padding:2px 10px;}html.force-m .m-stat .lb{font-size:12.5px;}html.force-m .m-stat .vl{font-size:20px;}html.force-m .m-stat .sb{font-size:12px;}html.force-m .m-empty{font-size:14px;padding:32px 0;}html.force-m .m-lic{font-size:13px;padding:11px 14px;}html.force-m .m-search-bar .input{font-size:15px;}html.force-m .m-chip{font-size:13px;height:34px;padding:0 16px;}html.force-m .m-sub-btn{font-size:13px;height:36px;padding:0 16px;}html.force-m .m-edit,html.force-m .m-rch,html.force-m .m-del,html.force-m .m-okbtn{font-size:13px;height:34px;padding:0 15px;}html.force-m .m-card .field label{font-size:13.5px;font-weight:600;color:#334155;}html.force-m .m-card .input,html.force-m .m-card select,html.force-m .m-card textarea{font-size:15px;}html.force-m .mk-rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 12px;}html.force-m .mk-rule{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:10px 12px;font-size:12.5px;color:#9a3412;}html.force-m .mk-rule b{color:#c2410b;font-size:19px;font-weight:800;margin:0 2px;}html.force-m .m-set-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f1f5f9;}html.force-m .m-set-row:last-child{border-bottom:0;}html.force-m .m-set-row .k{font-size:13.5px;color:#475569;flex:none;}html.force-m .m-set-row .v{font-size:14px;color:#0f172a;font-weight:700;text-align:right;}html.force-m .skin-grid{grid-template-columns:repeat(2,1fr) !important;gap:8px;}html.force-m .skin-card{padding:10px 6px;font-size:13px;}html.force-m .mn-pick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;}html.force-m .mn-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border:1.5px solid #cfd6e0;border-radius:12px;background:#fff;font-size:12px;color:#475569;cursor:pointer;text-align:center;}html.force-m .mn-item.on{border-color:#D6006E;background:#FFF0F6;color:#B3005C;font-weight:700;}html.force-m .mn-item .mn-ico{font-size:20px;}html.force-m .qr-upload-grid{display:grid;grid-template-columns:1fr;gap:14px;}html.force-m .qr-up-item{text-align:center;}html.force-m .qr-up-item img{width:160px;height:160px;object-fit:contain;border:1.5px solid #cfd6e0;border-radius:12px;background:#fff;}html.force-m .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}html.force-m .settings-logout{position:static;display:block;width:100%;margin:18px 0 90px;padding:14px;border-radius:14px;font-size:15px;}html.force-m .skin-card{padding:10px;gap:6px;}html.force-m .skin-card .swatch{gap:3px;}html.force-m .skin-card .swatch i{width:22px;height:22px;border-radius:6px;}html.force-m .skin-card .meta b{font-size:13.5px;}html.force-m .skin-card .meta span{font-size:12px;}html.force-m .m-pos-search{margin:0 0 12px;}html.force-m .m-pos-search .input{height:46px;border-radius:999px;border:1.5px solid #cfd6e0;background:#fff;font-size:15px;color:#0f172a;padding:0 18px;box-shadow:0 2px 8px rgba(15,23,42,.07);}html.force-m #pos-services{max-height:none;}html.force-m .m-pos-services{padding-bottom:112px;}html.force-m #pos-services .svc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}html.force-m #pos-services .svc-item{position:relative;background:#fff;border:1px solid #eceff3;border-radius:14px;padding:6px;gap:4px;box-shadow:0 2px 8px rgba(15,23,42,.07);cursor:pointer;}html.force-m #pos-services .svc-item .svc-img{height:76px;border-radius:10px;}html.force-m #pos-services .svc-item .svc-name{font-size:14px;font-weight:700;color:#0f172a;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;}html.force-m #pos-services .svc-item .svc-price{font-size:15px;font-weight:800;color:#B3005C;margin-top:2px;font-variant-numeric:tabular-nums;}html.force-m #pos-services .svc-item .svc-dept{font-size:12px;margin-top:0;}html.force-m #pos-services .svc-item:active{transform:scale(.97);}html.force-m #pos-services .svc-item::after{content:'+';position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:8px;background:#e5e9f0;color:#8a94a6;font-size:16px;font-weight:800;line-height:22px;text-align:center;box-shadow:0 1px 3px rgba(15,23,42,.12);transition:background .15s,color .15s,box-shadow .15s;}html.force-m #pos-services .svc-item:hover::after,html.force-m #pos-services .svc-item:active::after{background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;box-shadow:0 2px 6px rgba(214,0,110,.4);}html.force-m .m-pos-bar{background:#fff;color:#0f172a;border:1.5px solid #eceff3;border-radius:18px;padding:10px 12px 10px 16px;box-shadow:0 10px 26px rgba(15,23,42,.18);}html.force-m .m-pos-bar .m-pos-l{align-items:baseline;gap:10px;}html.force-m .m-pos-bar .m-pos-l b{font-size:13px;font-weight:600;color:#64748b;}html.force-m .m-pos-bar #m-pos-total{font-size:22px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums;}html.force-m .m-pos-bar #m-pos-go{height:44px;padding:0 24px;border-radius:13px;font-size:15px;font-weight:700;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;border:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 16px -6px rgba(214,0,110,.55);}html.force-m .pos-cart-drawer{position:fixed;left:0;right:0;bottom:calc(61px + env(safe-area-inset-bottom,0px) + 10px);transform:translateY(105%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .18s cubic-bezier(.25,.8,.35,1),opacity .18s ease,visibility .18s;z-index:955;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -14px 44px rgba(15,23,42,.3);max-height:74dvh;display:flex;flex-direction:column;overflow:hidden;}html.force-m body.pos-cart-open .pos-cart-drawer{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto;}html.force-m body.pos-cart-open .m-pos-bar{display:none;}html.force-m .pcd-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 6px;}html.force-m .pcd-head b{font-size:16px;font-weight:800;color:#0f172a;}html.force-m .pcd-head button{border:0;background:none;font-size:13px;color:#64748b;padding:6px;}html.force-m .pcd-body{overflow-y:auto;padding:0 16px;-webkit-overflow-scrolling:touch;}html.force-m .pcd-foot{padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:8px;}html.force-m .pcd-total-lb{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;color:#64748b;}html.force-m .pcd-total-v{font-size:20px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums;}html.force-m .pcd-go{height:50px;border-radius:16px;font-size:16px;font-weight:700;}html.force-m .pcd-qp{height:40px;width:100%;}html.force-m #pos-cart .cart-item{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f1f5f9;}html.force-m #pos-cart .cart-item:last-child{border-bottom:0;}html.force-m #pos-cart .ci-name{font-size:15px;font-weight:700;color:#0f172a;}html.force-m #pos-cart .ci-sub{font-size:13px;color:#64748b;}html.force-m #pos-cart .cart-item .btn-sm{height:32px;padding:0 10px;font-size:12.5px;}html.force-m #pos-cart .qty-ctrl button{width:32px;height:32px;border-radius:10px;background:#f1f5f9;font-size:17px;font-weight:700;color:#0f172a;border:1px solid #e2e8f0;}html.force-m #pos-cart .qty-ctrl .q{min-width:26px;text-align:center;font-size:16px;font-weight:800;color:#0f172a;}html.force-m .pos-right.m-checkout{bottom:0;border-radius:24px 24px 0 0;max-height:90dvh;transform:translateY(105%);opacity:0;pointer-events:none;transition:transform .18s cubic-bezier(.25,.8,.35,1),opacity .18s ease;}html.force-m body.pos-drawer-open .pos-right.m-checkout{transform:translateY(0);opacity:1;pointer-events:auto;}html.force-m .m-checkout-body{padding:14px 16px calc(16px + env(safe-area-inset-bottom,0px));}html.force-m .m-checkout #pos-member{height:auto;padding:12px 14px;}html.force-m .m-checkout .pos-member-empty{border:1.5px dashed #cbd5e1;background:#fff;}html.force-m .m-checkout .pos-member-empty .pm-main b{font-size:15px;color:#0f172a;}html.force-m .m-checkout .pos-member-empty .pm-main i{font-size:12px;color:#94a3b8;}html.force-m .m-checkout .pos-member-picked{border:1.5px solid #ccfbf1;background:#f0fdfa;box-shadow:none;}html.force-m .m-checkout .pos-member-picked .pm-info b{font-size:16px;color:#0f172a;}html.force-m .m-checkout .pos-member-picked .pm-tel{font-size:12.5px;color:#64748b;}html.force-m .m-checkout .pos-member-picked .ml-bal{font-size:16px;font-weight:800;color:#0d9488;font-variant-numeric:tabular-nums;}html.force-m .m-checkout .pos-member-picked .pm-clear{border:0;background:#FFE8F2;color:#B3005C;width:26px;height:26px;border-radius:9px;font-size:12px;}html.force-m #pos-benefits{margin-top:12px;}html.force-m .pos-benefit-fold{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:2px 12px 12px;}html.force-m .pbf-head{width:100%;border:0;background:none;padding:10px 0;font-size:14.5px;font-weight:700;color:#0f172a;display:flex;justify-content:space-between;align-items:center;}html.force-m #pos-benefits .field label{font-size:13px;font-weight:700;color:#334155;}html.force-m #pos-benefits .select{height:44px;font-size:15px;}html.force-m .pos-card-btn{font-size:14px !important;padding:9px 13px !important;}html.force-m .pos-card-btn span{font-size:12px !important;}html.force-m #pos-benefit-tip{font-size:13px !important;}html.force-m .m-checkout .pay-box{margin-top:4px;}html.force-m .m-checkout .pay-box>label{font-size:13.5px;font-weight:700;color:#334155;}html.force-m .m-checkout .pay-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}html.force-m .m-checkout .pay-method{flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:999px;border:1.5px solid #cbd5e1;background:#fff;font-size:13.5px;font-weight:600;color:#475569;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 3px rgba(15,23,42,.06);}html.force-m .m-checkout .pay-method .pm-ico{line-height:0;margin-bottom:0;}html.force-m .m-checkout .pay-method .pm-ico svg{width:18px;height:18px;}html.force-m .m-checkout .pay-method.active{border-color:#0d9488;background:#ccfbf1;color:#0f766e;font-weight:700;}html.force-m #pos-pay-hint{margin-top:8px;}html.force-m #pos-pay-hint>div{font-size:12.5px !important;}html.force-m .m-pos-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;}html.force-m .mpf-field label{display:block;font-size:13.5px;font-weight:700;color:#334155;margin-bottom:6px;}html.force-m .mpf-field .input{height:48px;font-size:17px;font-weight:800;color:#0f172a;}html.force-m .m-pos-change{margin-top:10px;font-size:13.5px;color:#475569;}html.force-m .m-pos-change b{font-size:16px;font-weight:800;color:#B3005C;margin-left:4px;}html.force-m .m-checkout .pos-total-bar{display:flex;align-items:baseline;justify-content:space-between;padding:14px 0 12px;border-top:1px dashed #e2e8f0;margin-top:12px;}html.force-m .m-checkout .pos-total-bar span:first-child{font-size:14px;color:#64748b;}html.force-m .m-checkout .pos-total-bar .t{font-size:26px;font-weight:800;color:#B3005C;font-variant-numeric:tabular-nums;}html.force-m .m-checkout #pos-submit{height:52px;border-radius:16px;font-size:17px;font-weight:700;}html.force-m .qp-mpanel{width:340px;max-width:90vw;padding:20px 18px calc(18px + env(safe-area-inset-bottom,0px));}html.force-m .qp-mpanel .qp-head b{font-size:18px;color:#0f172a;}html.force-m .qp-mpanel .qp-row label{font-size:13px;}html.force-m .qp-mpanel .qp-amt{height:58px;border:1.5px solid #cfd6e0;background:#fff;color:#0f172a;font-size:28px;border-radius:16px;font-weight:800;}html.force-m .qp-mpanel .qp-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;margin-bottom:14px;scrollbar-width:none;}html.force-m .qp-mpanel .qp-chips::-webkit-scrollbar{display:none;}html.force-m .qp-mpanel .qp-mways{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}html.force-m .qp-mpanel .qp-mway{height:40px;padding:0 15px;border-radius:999px;border:1.5px solid #cbd5e1;background:#fff;font-size:13.5px;font-weight:600;color:#475569;cursor:pointer;}html.force-m .qp-mpanel .qp-mway.on{border-color:#0d9488;background:#ccfbf1;color:#0f766e;font-weight:700;}html.force-m .qp-mpanel .qp-ok-red{width:100%;height:52px;border-radius:16px;border:none;margin-top:18px;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:16px;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 8px 20px -8px rgba(214,0,110,.6);}html.force-m #mp-search{height:46px;border-radius:999px;border:1.5px solid #cfd6e0;font-size:15px;padding:0 18px;}html.force-m #mp-list .member-line{border:1px solid #eceff3;border-radius:14px;padding:12px 14px;margin-bottom:10px;box-shadow:0 2px 8px rgba(15,23,42,.06);cursor:pointer;}html.force-m #mp-list .member-line b{font-size:15.5px;color:#0f172a;}html.force-m #mp-list .ml-bal{font-size:15.5px;font-weight:800;color:#0d9488;font-variant-numeric:tabular-nums;}html.force-m .ms-card span{font-size:12.5px;color:#475569;font-weight:700;}html.force-m .ms-card i{font-size:12px;color:#64748b;font-weight:600;}html.force-m .m-appt-t{width:50px;height:50px;border-radius:13px;}html.force-m .m-appt-t b{font-size:15.5px;}html.force-m .m-appt-t i{font-size:12px;color:#475569;font-weight:700;}html.force-m .badge{font-size:12px;padding:3px 9px;}html.force-m .home-hero .hh-foot{font-size:12.5px;}html.force-m .home-hero .hh-big .hb-tx i{font-size:12.5px;}html.force-m .hm-more{font-size:12.5px;}html.force-m .home-tail{font-size:12px;color:#64748b;}html.force-m .m-today .m-today-sub{font-size:12.5px;color:#64748b;}html.force-m .m-ch-card .m-ch-cnt{font-size:13.5px;color:#0f172a;font-weight:800;}html.force-m .m-ch-card .m-ch-name{font-size:12px;color:#475569;font-weight:700;}html.force-m .m-check-row .m-ck-s{font-size:12px;color:#64748b;}html.force-m .m-stat .vl i,html.force-m .m-stat .vl span{font-size:13px;font-weight:700;color:#475569;font-style:normal;}html.force-m .mk-rule div{font-size:12.5px !important;color:#64748b;}html.force-m .m-tip{font-size:12.5px !important;color:#64748b;}html.force-m .m-inv-stock i{font-size:12.5px;color:#64748b;font-weight:600;}html.force-m .m-bell-n{font-size:11px;}html.force-m .m-chip i{font-size:12.5px;font-weight:700;color:#475569;}html.force-m .m-chip.on i{color:rgba(255,255,255,.9);}html.force-m .m-lv-chip{font-size:12px;font-weight:700;}html.force-m .m-mem-l2{font-size:12.5px;color:#64748b;}html.force-m .m-mem-l2 b.teal{font-size:13.5px;font-weight:800;color:#0d9488;}html.force-m .m-mem-l2 i.warn{font-size:12.5px;font-weight:700;color:#d97706;}html.force-m .av-fallback i{font-size:12px;}.ssw-mask{position:fixed;inset:0;z-index:3000;background:rgba(15,23,42,.45);display:flex;align-items:flex-end;justify-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);}html.force-pc .ssw-mask,.ssw-mask.ssw-center{align-items:center;}.ssw-box{width:100%;max-width:420px;background:#fff;border-radius:22px 22px 0 0;padding:6px 20px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 40px -12px rgba(15,23,42,.4);animation:ssw-in .24s cubic-bezier(.2,.9,.3,1);}html.force-pc .ssw-box{border-radius:22px;padding-bottom:18px;}@keyframes ssw-in{from{transform:translateY(28px);opacity:.6;}to{transform:translateY(0);opacity:1;}}.ssw-head{display:flex;align-items:center;justify-content:space-between;padding:14px 2px 10px;font-size:16px;font-weight:800;color:#0f172a;}.ssw-close{width:30px;height:30px;border-radius:50%;border:none;background:#f1f5f9;color:#64748b;font-size:14px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);}.ssw-list{display:flex;flex-direction:column;gap:10px;max-height:62vh;overflow:auto;padding:2px;}.ssw-item{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;border:1px solid #e2e8f0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 1px 3px rgba(15,23,42,.05);cursor:pointer;text-align:left;}.ssw-item:active{transform:scale(.985);}.ssw-item.cur{border-color:#99f6e4;background:linear-gradient(180deg,#f0fdfa,#f8fafc);}.ssw-ico{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#0d9488,#0f766e);color:#fff;font-size:18px;box-shadow:0 4px 10px -4px rgba(13,148,136,.6);}.ssw-inf{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;}.ssw-inf b{font-size:14.5px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ssw-inf i{font-size:12px;color:#64748b;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ssw-cur{font-size:11.5px;font-weight:700;color:#0d9488;background:#ccfbf1;padding:3px 10px;border-radius:99px;flex:none;}.ssw-go{font-size:12px;font-weight:700;color:#fff;flex:none;background:linear-gradient(135deg,#0d9488,#0f766e);padding:6px 12px;border-radius:99px;box-shadow:0 3px 8px -3px rgba(13,148,136,.55);}.ssw-ro{font-size:12px;font-weight:700;color:#b45309;flex:none;background:#fef3c7;padding:6px 12px;border-radius:99px;border:1px solid #fcd34d;white-space:nowrap;}.ssw-ronly{margin-left:8px;font-size:11px;font-weight:600;font-style:normal;color:#b45309;background:#fef3c7;border:1px solid #fcd34d;padding:2px 8px;border-radius:99px;vertical-align:middle;}.ro-banner{display:flex;align-items:center;gap:10px;padding:12px 16px;margin:0 20px 12px;background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #fcd34d;border-radius:14px;font-size:13px;font-weight:600;box-shadow:0 3px 10px -4px rgba(217,119,6,.3);}html.force-m .ro-banner{margin:0 20px 12px;}.ro-banner .ro-ico{font-size:16px;flex:none;}.ro-banner .ro-tx{flex:1;min-width:0;line-height:1.6;}.ro-banner .ro-now{flex:none;font-size:11.5px;color:#92400e;background:rgba(255,255,255,.65);padding:3px 10px;border-radius:99px;white-space:nowrap;}.switch{display:inline-flex;width:46px;height:26px;border-radius:99px;background:#cbd5e1;position:relative;cursor:pointer;transition:background .2s;flex:none;vertical-align:middle;}.switch i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .2s;}.switch.on{background:linear-gradient(135deg,#0d9488,#0f766e);}.switch.on i{left:23px;}.switch.busy{opacity:.55;pointer-events:none;}html.force-m .m-addbar button.m-pos{background:linear-gradient(180deg,#0d9488,#0f766e);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px -8px rgba(13,148,136,.6);}.btn:active{transform:translateY(1px) !important;filter:brightness(.94);box-shadow:inset 0 2px 5px rgba(0,0,0,.24),inset 0 -1px 0 rgba(0,0,0,.08) !important;}.pos-search-wrap{position:relative;}.pos-search-drop{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(15,23,42,.16);max-height:320px;overflow-y:auto;padding:4px;}.psd-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;cursor:pointer;}.psd-item:hover{background:var(--primary-light);}.psd-name{flex:1;font-size:13.5px;color:var(--ink);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.psd-dept{flex:none;}.psd-price{flex:none;font-size:13px;color:var(--primary);font-weight:600;}.psd-empty{padding:14px;text-align:center;font-size:13px;color:var(--ink-3);}.m-del{background:linear-gradient(135deg,#D6006E,#8A0047);color:#fff;border:none;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 -2px 0 rgba(0,0,0,.15);}.mkm-row.sel{border-color:#D6006E!important;background:rgba(214,0,110,.06)}.mk-check{width:20px;height:20px;border:1.5px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;flex:none;background:#fff;transition:all .15s}.mkm-row.sel .mk-check{background:linear-gradient(135deg,#D6006E,#8A0047);border-color:#D6006E}.mg-chip{display:inline-flex;align-items:center;gap:5px;background:rgba(214,0,110,.08);color:#B3005C;border:1px solid rgba(214,0,110,.28);border-radius:999px;padding:3px 9px;font-size:12.5px;font-weight:600}.mg-x{cursor:pointer;font-weight:700;color:#B3005C;padding:0 2px}.mg-x:hover{color:#fff;background:#D6006E;border-radius:50%}.mdx-avatar-box{display:flex;flex-direction:column;align-items:center;margin-bottom:10px;position:relative}.mdx-avatar{width:74px;height:74px;border-radius:50%;background:linear-gradient(135deg,#a8123f,#D6006E);color:#fff;font-size:26px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden}.mdx-avatar.has-img{border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.14)}.mdx-avatar img{width:100%;height:100%;object-fit:cover}.mdx-av-btn{position:absolute;top:56px;background:rgba(15,23,42,.72);color:#fff;border:none;border-radius:999px;font-size:11px;padding:3px 10px;cursor:pointer;opacity:0;transition:opacity .15s;z-index:2}.mdx-avatar-box:hover .mdx-av-btn{opacity:1}.mdx-meta{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:13px;margin:8px 0 4px}.mm-lb{color:var(--ink-3);min-width:48px;text-align:left}.mm-vl{color:var(--ink-2);word-break:break-all}.mf-avatar-row{display:flex;gap:10px;align-items:center}.mf-avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#a8123f,#D6006E);color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}.mf-avatar img{width:100%;height:100%;object-fit:cover}.mf-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}@media (max-width:720px){.mf-grid3{grid-template-columns:1fr}}.mf-avatar-lg{width:88px;height:88px;font-size:30px;box-shadow:0 4px 12px rgba(168,18,63,.18)}.mf-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}@media (max-width:720px){.mf-grid2{grid-template-columns:1fr}}.mf-grid2 label,.mf-grid3 label{white-space:nowrap}.mf-grid2,.mf-grid3{gap:8px 12px}.modal-body .field{margin-bottom:10px}.modal-body .sf-card{margin-bottom:10px}.mf-grid2,.mf-grid3{gap:6px 12px}.sf-card-info .form-row .field{flex:1;min-width:0}.sf-card-info .field>.input,.sf-card-info .field>.select{max-width:300px}.sf-card-info .mf-grid2{max-width:300px}.sf-card-info .field{display:flex;align-items:center;gap:6px;margin-bottom:5px}.sf-card-info .field label{flex:none;margin:0;white-space:nowrap;width:64px}.sf-card-info .field .input,.sf-card-info .field .select{flex:1;max-width:none;min-width:0}.sf-card-info .field label{width:72px;text-align:right}.sf-card-info>.field{max-width:260px}.sf-card-info .mf-grid2{max-width:340px;gap:6px 8px}.sf-card-info>.field{max-width:360px}.mf-lv-card{margin-top:8px;display:flex;justify-content:center}.mf-lv-card img{width:112px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.18)}.mf-lv-face{width:148px;aspect-ratio:1.586/1;border-radius:9px;padding:10px 12px;box-shadow:0 2px 8px rgba(0,0,0,.18)}.mf-lv-face .mlc-top{font-size:10px}.mf-lv-face .mlc-top span:last-child{font-size:14px}.mf-lv-face .mlc-mid{font-size:22px}.mf-lv-face .mlc-bot{font-size:10.5px}.mf-lv-card img{width:148px;border-radius:9px;box-shadow:0 2px 8px rgba(0,0,0,.18)}.mf-row-cd{display:flex;align-items:center;gap:8px;max-width:360px}.mf-row-cd .field{display:flex;align-items:center;gap:6px}.mf-row-cd .field:first-child{flex:0 0 158px}.mf-row-cd .field:last-child{flex:1;min-width:0}.mf-row-cd label{width:72px;text-align:right;flex-shrink:0}.mf-row-cd #mf-cardno{flex:1;min-width:0}.mf-row-cd #mf-dept{width:78px}.mf-grid2-ns{display:grid;grid-template-columns:190px minmax(0,1fr);gap:6px 8px;max-width:360px}.mf-dept-wrap{position:relative;flex:1;min-width:0}.mf-dept-btn{width:100%;height:33px;line-height:31px;padding:0 8px;border:1px solid #cdd3dc;border-radius:6px;background:#fff;font-size:13px;color:#333;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}.mf-dept-pop{position:absolute;top:36px;left:0;right:0;z-index:50;background:#fff;border:1px solid #d5dae1;border-radius:6px;box-shadow:0 4px 14px rgba(0,0,0,.12);padding:4px;display:none}.mf-dept-pop .mf-dept{display:flex;align-items:center;gap:6px;padding:6px 8px;cursor:pointer;font-size:13px;border-radius:4px}.mf-dept-pop .mf-dept:hover{background:#f4f6f8}.mf-row-bj{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;width:100%;margin-bottom:10px;align-items:stretch}.mf-row-bj .field{display:flex;flex-direction:column;height:100%}.mf-row-bj .field label{display:block;margin-bottom:6px;font-size:13px;color:#555;text-align:left;width:auto}.mf-row-bj .field .textarea{width:100%;height:auto;flex:1 1 0;min-height:0;resize:vertical;margin:0}.mf-row-bj .mf-join{margin:0}html.force-m .modal-body .sf-card{flex-direction:row;gap:10px}html.force-m .sf-card-av{width:auto;flex:none;border-right:none;padding:0;align-items:center}html.force-m .sf-card-av .mf-avatar-lg{width:48px;height:48px;font-size:18px}html.force-m .mf-lv-card img,html.force-m .mf-lv-face{width:110px}html.force-m .mf-lv-face{padding:5px 6px;border-radius:7px}html.force-m .mf-lv-face .mlc-top{font-size:7.5px}html.force-m .mf-lv-face .mlc-top span:last-child{font-size:9.5px}html.force-m .mf-lv-face .mlc-mid{font-size:13px}html.force-m .mf-lv-face .mlc-bot{font-size:7.5px}html.force-m .sf-card-info{flex:1;min-width:0;justify-content:flex-start}html.force-m .sf-card-info .field{max-width:none}html.force-m .sf-card-info>.field{max-width:none}html.force-m .sf-card-info .field label{width:56px}html.force-m .sf-card-info input[type=date]{flex:1;min-width:0;width:auto;min-height:33px;-webkit-appearance:none;appearance:none}html.force-m .mf-grid2-ns{grid-template-columns:1.2fr 1fr;max-width:none;gap:4px}html.force-m .mf-row-cd{max-width:none;flex-wrap:wrap;gap:6px}html.force-m .mf-row-cd .field:first-child{flex:1 1 40%}html.force-m .mf-row-cd .field:last-child{flex:1 1 55%}html.force-m .mf-row-bj{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}html.force-m .mf-join{justify-content:flex-start}html.force-m .modal-body .field{margin-bottom:6px}html.force-m .modal-body .sf-card{margin-bottom:6px}html.force-m .mf-grid2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 8px}html.force-m .mf-grid2 .field label{white-space:normal}html.force-m .mf-row-bj .field .textarea{min-height:52px}html.force-m .mf-join{padding:6px}html.force-m .mf-join-txt b{font-size:12px}html.force-m .mf-join-qr{width:72px;height:72px}.page-head .mb-head-search{display:flex;gap:8px;flex:1;max-width:460px;margin:0 14px}.page-head .mb-head-search input{flex:1;min-width:240px;height:36px;padding:0 14px;border:1.5px solid #0f172a;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.1);border-radius:10px;font-size:14px}.page-head .mb-head-search input::placeholder{color:#64748b}.page-head .mb-head-search .btn{height:36px;padding:0 16px;border-radius:10px}@media (max-width:900px){.page-head .mb-head-search{max-width:none;width:100%;margin:2px 0 0;order:9}}.mdx-cards.stack-n{position:relative;min-height:225px;gap:0}.mdx-cards.stack-n .md-card{position:absolute;left:0}.mdx-cards.stack-n .md-card img{width:100%;height:100%}.mdx-cards.stack-1{justify-content:center}.mdx-cards.stack-2{gap:10px}.mb-swrap{position:relative;flex:1;min-width:0;display:flex}.mb-swrap input{flex:1;min-width:0}.m-search-bar .mb-swrap{flex:1}.mb-sdd{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1.5px solid #0f172a;border-radius:12px;box-shadow:0 12px 30px rgba(15,23,42,.18);max-height:440px;overflow-y:auto;z-index:99;display:none}.mb-sdd .row{display:flex;align-items:center;gap:10px;padding:9px 12px;cursor:pointer;border-bottom:1px solid #f1f5f9}.mb-sdd .row:last-child{border-bottom:none}.mb-sdd .row:hover{background:#f8fafc}.mb-sdd .row b{font-size:14px;color:#0f172a}.mb-sdd .row>div span{font-size:12px;color:#64748b}.mb-sdd .row .bal{margin-left:auto;font-size:12.5px;font-weight:700;color:#0d9488;white-space:nowrap}html.force-m .mb-sdd{max-height:260px}html.force-m .m-search-bar{position:relative;z-index:50}.mdx-cd{background:#f8fafc;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:12px}.mdx-cd-title{font-size:13.5px;font-weight:700;color:var(--ink-2);margin-bottom:8px}.mdx-cd-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12.5px;color:var(--ink-3)}.mdx-cd-foot .btn{margin-top:0}.md-card.sel{outline:none;z-index:99!important;transform:translateY(-8px) rotate(0deg)!important;box-shadow:0 18px 36px rgba(15,23,42,.35)!important;filter:brightness(1.12)}html.force-m .mdx-cd{padding:10px 12px;width:100%;box-sizing:border-box;flex:none}#mdx-stats-box .mdx-cd,html.force-m #mdxm-stats-box .mdx-cd{grid-column:1/-1;width:100%}html.force-m .mdx-cd .mdxm-stats{width:100%;box-sizing:border-box}html.force-m .mdx-cd .mdxm-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}html.force-m .mdx-cd .mdxm-stat{min-width:0;text-align:left}.mdx-cd .mdx-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 12px;margin-bottom:10px}.mdx-cd .mdx-stat{display:flex;align-items:baseline;justify-content:flex-start;gap:6px;text-align:left;padding:8px 10px;border-radius:10px}.mdx-cd .mdx-stat .lb{font-size:12px;color:var(--ink-3);white-space:nowrap}.mdx-cd .mdx-stat .vl{font-size:14px;font-weight:600;color:var(--ink);margin-top:0;line-height:1.25;white-space:nowrap}.mdx-cd .mdx-stat .sb{font-size:11px;margin-top:0}html.force-m .mdx-cd .mdxm-stat{display:flex;align-items:baseline;justify-content:flex-start;gap:6px;text-align:left;padding:8px 10px}html.force-m .mdx-cd .mdxm-stat .vl{font-size:14px;font-weight:600;margin-top:0;line-height:1.25}.m-bell{position:relative;margin-left:10px;width:32px;height:32px;padding:0;border-radius:9px;border:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc,#eef2f7);font-size:17px;line-height:1;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 1px 3px rgba(15,23,42,.08);vertical-align:middle}.m-bell:active{transform:scale(.94)}.m-bell-n{position:absolute;top:-7px;right:-8px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:10px;font-weight:800;font-style:normal;line-height:17px;text-align:center;display:none;box-shadow:0 1px 3px rgba(214,0,110,.5)}.m-bell.has .m-bell-n{display:inline-block}.cs-item.cs-i1,.cs-item.cs-i2,.cs-item.cs-i3,.cs-item.cs-i4{border:none;box-shadow:0 6px 18px rgba(15,23,42,.10)}.cs-item.cs-i1 span,.cs-item.cs-i2 span,.cs-item.cs-i3 span,.cs-item.cs-i4 span,.cs-item.cs-i1 i,.cs-item.cs-i2 i,.cs-item.cs-i3 i,.cs-item.cs-i4 i{color:rgba(255,255,255,.85)}.cs-item.cs-i1 b,.cs-item.cs-i2 b,.cs-item.cs-i3 b,.cs-item.cs-i4 b{color:#fff}.cs-item.cs-i1{background:linear-gradient(135deg,#0f766e,#134e4a)}.cs-item.cs-i2{background:linear-gradient(135deg,#b45309,#78350f)}.cs-item.cs-i3{background:linear-gradient(135deg,#0369a1,#0c4a6e)}.cs-item.cs-i4{background:linear-gradient(135deg,#6d28d9,#4c1d95)}.kpi-tab{padding:8px 16px;border:1px solid var(--line,#d5dae1);border-radius:8px;background:#fff;font-size:13px;color:var(--ink-2,#475569);cursor:pointer}.kpi-tab.on{background:var(--primary,#14532d);color:#fff;border-color:var(--primary,#14532d);font-weight:600}.kpi-stat{border-radius:12px;padding:12px 14px;color:#fff}.kpi-stat span{display:block;font-size:12px;opacity:.9}.kpi-stat b{display:block;font-size:22px;font-weight:800;margin:4px 0 2px}.kpi-stat i{font-style:normal;font-size:11px;opacity:.85}.kpi-stat.s1{background:linear-gradient(135deg,#0f766e,#134e4a)}.kpi-stat.s2{background:linear-gradient(135deg,#b45309,#78350f)}.kpi-stat.s3{background:linear-gradient(135deg,#0369a1,#0c4a6e)}.kpi-stat.s4{background:linear-gradient(135deg,#6d28d9,#4c1d95)}.kpi-grade{display:flex;flex-direction:column;align-items:center;gap:2px;width:56px;padding:8px 6px;border-radius:10px;background:#f8fafc;border:1px solid var(--line,#e2e8f0)}.kpi-grade b{font-size:18px;font-weight:800}.kpi-grade span{font-size:11px;color:var(--ink-3)}.kpi-grade.gS b{color:#b45309}.kpi-grade.gA b{color:#0f766e}.kpi-grade.gB b{color:#334155}.kpi-grade.gC b{color:#b45309}.kpi-grade.gD b{color:#8A0047}.kpi-table-wrap{border:1px solid var(--line,#e2e8f0);border-radius:12px;overflow:hidden;background:#fff}.kpi-row{display:grid;grid-template-columns:minmax(140px,1.4fr) repeat(3,minmax(96px,1fr)) minmax(80px,.9fr) auto;gap:8px;align-items:center;padding:10px 14px;border-bottom:1px solid #f1f5f9}.kpi-row:last-child{border-bottom:none}.kpi-row-a{display:flex;align-items:center;gap:10px}.kpi-row-a img,.kpi-row-a span{width:34px;height:34px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#14532d,#166534);color:#fff;font-weight:700;font-size:14px;flex:none}.kpi-cell{display:flex;flex-direction:column;gap:2px}.kpi-cell span{font-size:11px;color:var(--ink-3)}.kpi-cell b{font-size:13.5px}.kpi-cell i{font-style:normal;font-size:11px;color:#b45309}.kpi-cell .kst-active{color:#0f766e}.kpi-cell .kst-waived{color:#94a3b8}.kpi-cell .kst-done{color:#15803d}.kpi-row-ops{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.kpi-tier{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line,#d5dae1);border-radius:10px;cursor:pointer}.kpi-tier.sel{border-color:#14532d;background:#f0fdf4}.kpi-tier b{font-size:13.5px}.kpi-tier span{display:block;font-size:11.5px;color:var(--ink-3);margin-top:2px}.kpi-tier-row{display:flex;align-items:center;gap:8px}.kpi-lb{display:block;font-size:12.5px;color:var(--ink-2,#475569);margin-bottom:6px}.kpi-chk{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2,#475569);padding:8px 10px;border:1px solid var(--line,#e2e8f0);border-radius:8px;background:#fafbfc;cursor:pointer}.kpi-sc-staff{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;cursor:pointer}.kpi-sc-staff:hover{background:#f1f5f9}.kpi-sc-staff.sel{background:#f0fdf4;outline:1px solid #14532d}.kpi-sc-staff img,.kpi-sc-staff>span{width:32px;height:32px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#14532d,#166534);color:#fff;font-weight:700;flex:none}.kpi-sc-staff em{font-style:normal;margin-left:auto;font-weight:800;font-size:14px}.kpi-sc-staff em.gS{color:#b45309}.kpi-sc-staff em.gA{color:#0f766e}.kpi-sc-staff em.gB{color:#334155}.kpi-sc-staff em.gC{color:#b45309}.kpi-sc-staff em.gD{color:#8A0047}.badge.gS{background:#fef3c7;color:#b45309}.badge.gA{background:#ccfbf1;color:#0f766e}.badge.gB{background:#e2e8f0;color:#334155}.badge.gC{background:#fef3c7;color:#b45309}.badge.gD{background:#fee2e2;color:#8A0047}@media(max-width:900px){.kpi-row{grid-template-columns:1fr 1fr;gap:6px 10px}.kpi-row-ops{justify-content:flex-start;grid-column:1/-1}}html.force-m .kpi-row{grid-template-columns:1fr 1fr}html.force-m .kpi-row-ops{grid-column:1/-1;justify-content:flex-start}html.force-m #kpi-sc-wrap{grid-template-columns:1fr}.svc-cat-badge{background:var(--bg-2);color:var(--teal);border:1px solid var(--line);margin-left:4px;}.svc-cat-bar .chip,.pos-cat-bar .chip{font-size:12.5px;padding:4px 10px;}.cm-row b{font-size:14px;}.cm-row .btn-sm{font-size:12px;padding:3px 8px;}html.force-m .page-head{padding-top:calc(22px + env(safe-area-inset-top,0px));}html.force-m .m-head,html.force-m .m-mem-head{padding-top:calc(6px + env(safe-area-inset-top,0px));}html.force-m body{background:#f6f8fc;}html.force-m #view{background:#f6f8fc;}html.force-m .content{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));}html.force-m .m-row:active,html.force-m .m-card:active,html.force-m .ms-card:active,html.force-m .svc-card:active,html.force-m .m-mem-row:active{background:#eef2f7;}html.force-m .m-bottom-nav a.active{color:#D6006E !important;font-weight:800;}html.force-m .m-bottom-nav a.active .m-ico{transform:translateY(-1px) scale(1.12);}html.force-m .m-bottom-nav a.active::before{content:none !important;display:none !important;}html.force-m #view{min-height:100vh;}html.force-m #view>.pg{min-height:100%;}html.force-m .pg{background:#f6f8fc;}html.force-m .home-hero{position:relative;z-index:120;}html.force-m .home-hero .hh-search{position:relative;z-index:130;}html.force-m .hh-search .hh-drop{z-index:200;}html.force-m .m-addbar,html.force-m .m-mem-addbar{left:0;right:0;display:flex;justify-content:center;}html.force-m .m-addbar button,html.force-m .m-mem-addbar button{width:auto !important;padding:0 28px;}html.force-m .home-hero{position:relative;z-index:600;}html.force-m .hh-search .hh-drop{z-index:9999 !important;}html.force-m .home-body{position:relative;z-index:10;}html.force-m .home-hero{overflow:visible !important;background:transparent !important;}html.force-m .home-hero::before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;border-radius:0 0 26px 26px;background:radial-gradient(115% 76% at 6% -10%,#7dd3fc 0%,rgba(125,211,252,0) 56%),radial-gradient(100% 68% at 94% 0%,#c4b5fd 0%,rgba(196,181,253,0) 58%),radial-gradient(125% 88% at 52% 112%,#FF9CCB 0%,rgba(253,164,175,0) 60%),linear-gradient(158deg,#4f7ef7 0%,#6a5cf6 54%,#8b5cf6 100%);z-index:0;}html.force-m .home-hero>*{position:relative;z-index:1;}html.force-m .home-hero{overflow:visible !important;background:linear-gradient(180deg,rgba(9,22,15,.26) 0%,rgba(9,22,15,.06) 42%,rgba(12,26,18,.30) 70%,rgba(255,255,255,0) 86%,#ffffff 100%),url('../img/home-hero-bg.png') center 12% / cover no-repeat !important;box-shadow:0 16px 30px -18px rgba(6,26,17,.55) !important;}html.force-m .home-hero::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(52% 40% at 86% 4%,rgba(255,255,255,.10),rgba(255,255,255,0) 70%);}html.force-m .m-bottom-nav a{font-size:13px !important;}html.force-m .pg:has(.home-body){display:flex;flex-direction:column;}html.force-m .home-body{flex:1;display:flex;flex-direction:column;}html.force-m .hm-group{flex:1;display:flex;flex-direction:column;}html.force-m .hm-grid{flex:1;grid-auto-rows:1fr;}html:not(.force-m) .pos-cat-bar .chip{background:#dde6f0;border-color:#c3cfdf;color:#1f2937;font-weight:600;}html:not(.force-m) .pos-cat-bar .chip:hover{background:#dde5ee;}html:not(.force-m) .pos-cat-bar .chip.active{background:#D6006E;border-color:#D6006E;color:#fff;}html:not(.force-m) #pos-services .svc-grid{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:10px;}html:not(.force-m) #pos-services .svc-item{aspect-ratio:1 / 1;padding:7px;display:flex;flex-direction:column;gap:1px;text-align:center;}html:not(.force-m) #pos-services .svc-item .svc-img{flex:1;height:auto;min-height:0;width:100%;margin-bottom:4px;border-radius:7px;}html:not(.force-m) #pos-services .svc-item .svc-name{font-size:12px;font-weight:600;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}html:not(.force-m) #pos-services .svc-item .svc-price{font-size:12.5px;font-weight:700;margin-top:0;}html:not(.force-m) #pos-services .svc-item .svc-dept{display:none !important;}html:not(.force-m) #pos-services .pos-cat-group-title,html.force-m #pos-services .pos-cat-group-title{background:#d7e2ee;border-left:none;border-radius:8px;padding:6px 10px;margin-bottom:8px;font-weight:700;color:#1f2937;}html:not(.force-m) #pos-services .pos-cat-group-title .pos-cat-group-count,html.force-m #pos-services .pos-cat-group-title .pos-cat-group-count{background:#c3d0e0;border-radius:999px;padding:1px 8px;font-size:11px;color:#1f2937;}html.force-m #pos-cat-tabs .m-chip{background:#e2e9f2;border-color:#c3cfdf;color:#1f2937;box-shadow:none;}html.force-m #pos-cat-tabs .m-chip.on{background:#D6006E;border-color:#D6006E;color:#fff;box-shadow:0 3px 8px -2px rgba(214,0,110,.45);}html.force-m #pos-services .svc-dept{display:none !important;}#pos-services .pos-cat-group-title{display:none !important;}#pos-dept-tabs:not(:has(*)){display:none;padding:0;margin:0;}html.force-m .m-pos-search{padding:2px 0;}#pos-services .svc-item .svc-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;margin-top:4px;}#pos-services .svc-item .svc-name{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}#pos-services .svc-item .svc-price{margin:0;flex:none;}html:not(.force-m) #pos-services .svc-item .svc-name{font-size:12px;font-weight:600;}html:not(.force-m) #pos-services .svc-item .svc-price{font-size:12.5px;font-weight:700;color:var(--primary);}html.force-m #pos-services .svc-item .svc-name{font-size:11.5px;font-weight:600;}html.force-m #pos-services .svc-item .svc-price{font-size:12.5px;font-weight:700;color:var(--primary);}#pos-services .pos-takeout-section{margin-top:18px;padding-top:12px;border-top:1px dashed rgba(128,128,128,.28);}#pos-services .pos-takeout-title{display:flex;align-items:center;gap:6px;font-weight:700;font-size:13.5px;color:var(--ink-1);margin-bottom:10px;}#pos-services .pos-takeout-title::before{content:'';width:4px;height:14px;border-radius:2px;background:var(--primary,#b8860b);}html.force-m #pos-services .pos-takeout-title{font-size:12.5px;margin-bottom:8px;}#pos-benefits .pos-benefit-wrap{margin-top:2px;}#pos-benefits .pos-coupon-sec{margin-top:10px;}#pos-benefits .pos-coupon-label{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:#7a3d00;background:linear-gradient(180deg,#ffe9a8,#f7c948);border:1px solid #dfa72c;border-radius:999px;padding:3px 11px;margin-bottom:8px;}#pos-benefits .pos-coupon-list{display:flex;flex-wrap:wrap;gap:8px;}#pos-benefits .pos-coupon-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:1px solid var(--line);border-radius:10px;padding:7px 11px;font-size:12.5px;line-height:1.4;cursor:pointer;background:#fff;text-align:left;flex:1 1 auto;min-width:118px;max-width:175px;}#pos-benefits .pos-coupon-card b{color:var(--ink-1);}#pos-benefits .pos-coupon-card span{font-size:11px;color:var(--ink-3);}#pos-benefits .pos-coupon-card.on{border-color:var(--brand,#a8123f);background:rgba(168,18,63,.06);}#pos-benefits .pos-coupon-card.on b{color:var(--brand,#a8123f);}#pos-benefits .pos-coupon-card:disabled{opacity:.5;cursor:not-allowed;}#pos-benefits .pos-benefit-tip{font-size:12px;color:var(--gold,#b8860b);margin-top:8px;line-height:1.8;}html.force-m #pos-benefits .pos-coupon-card{min-width:44%;max-width:100%;}html.force-m .m-checkout .pay-grid.compact{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;}html.force-m .m-checkout .pay-grid.compact .pay-method{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;font-size:12px;font-weight:600;line-height:1.2;border:none !important;background:transparent;border-radius:999px;color:var(--ink-2,#444);}html.force-m .m-checkout .pay-grid.compact .pay-method .pm-ico{display:none;}html.force-m .m-checkout .pay-grid.compact .pay-method.active{background:rgba(13,148,136,.1);color:#0f766e;font-weight:700;}html.force-m .m-checkout #pos-pay-hint{display:none !important;}html.force-m .m-checkout #pos-benefits .pos-benefit-wrap{margin-top:0;}html.force-m .m-checkout #pos-benefits .pos-coupon-sec{margin-top:8px;}html.force-m .m-checkout .pos-coupon-card{min-width:42%;}#pos-benefits .pos-card-btn{flex-direction:row;align-items:center;gap:8px;}#pos-benefits .pos-card-btn span{font-size:11px;}html.force-m #pos-benefits .pos-card-btn{gap:6px;}.pos-submit-row{display:flex;gap:10px;margin-top:12px;}.pos-submit-row .btn{flex:1;width:auto;}.pos-submit-row #pos-cancel{border:1.5px solid #cbd5e1;background:#fff;color:#475569;box-shadow:none;}html.force-m .pos-submit-row{margin-top:10px;gap:8px;}html.force-m .pos-submit-row .btn{height:50px;border-radius:14px;font-size:15px;font-weight:700;}.pos-submit-row #pos-cancel{flex:1;}.pos-submit-row #pos-submit{flex:2;}html.force-m .pos-submit-row #pos-cancel{flex:1;}html.force-m .pos-submit-row #pos-submit{flex:2;}html.force-m .m-checkout .m-pos-change{display:none;}html.force-m .m-checkout .pos-total-bar{display:none;}html.force-m #pos-pay-hint:empty,html.force-m #pos-benefits:empty,html.force-m #pos-benefit-tip:empty{display:none !important;}html.force-m .m-checkout .pay-box{margin-top:2px;}html.force-m .m-checkout .m-pos-fields{margin-top:8px;}html.force-m .m-checkout .pos-submit-row{margin-top:8px;}html.force-m .m-checkout .pos-member-empty{padding:10px 12px;}html.force-m .m-checkout-body{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));}html.force-m .m-checkout-body{display:flex;flex-direction:column;min-height:70dvh;}html.force-m .m-checkout .m-checkout-items{flex:1;min-height:0;overflow-y:auto;margin:10px 0 4px;}html.force-m .m-checkout .mco-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:#f8fafc;border-radius:12px;margin-bottom:6px;}html.force-m .mco-item .mco-l{flex:1;min-width:0;}html.force-m .mco-item .mco-name{font-size:14px;font-weight:700;color:#0f172a;}html.force-m .mco-item .mco-sub{font-size:11.5px;color:#94a3b8;margin-top:2px;}html.force-m .mco-item .mco-r{font-size:13px;color:#64748b;text-align:right;white-space:nowrap;}html.force-m .mco-item .mco-r b{display:block;font-size:15px;font-weight:800;color:#0f172a;}html.force-m .mco-empty{padding:20px 0;text-align:center;color:#94a3b8;font-size:13px;}html.force-m .m-checkout .m-pos-fields{margin-top:0;}html.force-m .m-checkout .pos-submit-row{margin-top:8px;}html.force-m .m-checkout .pay-box{margin-top:8px;flex:none;}html.force-m .m-checkout .pay-grid{gap:6px;margin-top:6px;}html.force-m .m-checkout .pay-method{height:34px;padding:0 10px;font-size:12.5px;gap:4px;}html.force-m .m-checkout .pay-method .pm-ico svg{width:15px;height:15px;}html.force-m .m-checkout .m-pos-fields{flex:none;}html.force-m .m-checkout .pos-submit-row{flex:none;}html.force-m #pos-benefit-tip{color:#b45309;font-size:12px;margin-top:4px;line-height:1.5;}html.force-m .m-pos-fields #pos-received{color:#D6006E;font-weight:600;}html.force-m .m-checkout .pos-submit-row{position:sticky;bottom:0;z-index:6;background:#fff;padding-top:8px;margin-top:4px;box-shadow:0 -8px 14px -10px rgba(15,23,42,.16);}html.force-m .hm-more-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}html.force-m body>.hm-more-mask{z-index:999;}html.force-m .hm-more-panel{touch-action:pan-y;}html.force-m .content{-webkit-overflow-scrolling:touch;}html.force-m #view{min-height:100vh;min-height:100dvh;}html.force-m.force-portrait,html.force-m.force-portrait body{width:100vw;height:100vh;height:100dvh;overflow:hidden;}html.force-m #rotate-tip{position:fixed;inset:0;z-index:999999;background:#0b1f16;display:flex;align-items:center;justify-content:center;}html.force-m #rotate-tip .rt-box{text-align:center;color:#e9c880;font-size:15px;}html.force-m #rotate-tip .rt-ico{display:block;font-size:52px;margin-bottom:18px;animation:rt-spin 2s linear infinite;}@keyframes rt-spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}html.force-m .hm-more-inline{margin:0 0 16px;padding:16px 14px 18px;border:1px solid #e5e9f0;border-radius:20px;background:#f8fafc;}html.force-m .hm-more-inline.hidden{display:none;}html.force-m .hm-more-panel{max-height:none;overflow-y:visible;background:transparent;border-radius:0;padding:0;box-shadow:none;}html.force-m.force-portrait{background:#0b1f16;}html.force-m.force-portrait .shell{width:min(100vw,100vh);margin:0 auto;height:100vh;height:100dvh;}html.force-m #rotate-tip{display:none !important;}html.force-m.force-portrait,html.force-m.force-portrait body{background:#0b1f16;}html.force-m .home-hero{position:sticky;top:0;z-index:30;margin:0 -14px 18px;}html.force-m .hm-cell{padding:7px 2px 10px;gap:6px;}html.force-m .hm-cell .hm-ico{width:42px;height:42px;border-radius:13px;}html.force-m .hm-cell .hm-ico svg{width:21px;height:21px;}html.force-m .hm-group{padding:13px 10px 6px;margin-bottom:14px;}html.force-m .hm-title{margin-bottom:9px;}html.force-m .home-body{padding-bottom:10px;}html.force-m #pull-refresh{position:fixed;top:8px;left:50%;transform:translate(-50%,-60px);display:flex;align-items:center;gap:6px;padding:7px 14px;border-radius:18px;background:rgba(15,23,42,.88);color:#fff;font-size:12.5px;font-weight:600;box-shadow:0 8px 18px -8px rgba(15,23,42,.5);z-index:999;pointer-events:none;transition:transform .25s ease;}html.force-m #pull-refresh .pr-ico{display:inline-block;font-size:14px;transition:transform .1s linear;}html.force-m .m-bottom-nav a.mnav-quick{flex:0 0 62px;width:54px;height:54px;position:relative;top:-20px;margin:0 3px;border-radius:50%;background:linear-gradient(160deg,#FF6FB0,#D6006E);box-shadow:0 10px 22px -8px rgba(214,0,110,.65),inset 0 1px 0 rgba(255,255,255,.4);color:#fff;gap:1px;padding:0;}html.force-m .m-bottom-nav a.mnav-quick .m-q-ico{width:25px;height:25px;}html.force-m .m-bottom-nav a.mnav-quick .m-q-ico svg{width:23px;height:23px;}html.force-m .m-bottom-nav a.mnav-quick .m-q-tx{font-size:10px;font-weight:700;line-height:1;}html.force-m .home-body .hm-group:nth-child(3) .hm-cell .hm-ico{width:44px;height:44px;}html.force-m .home-body .hm-group:nth-child(3) .hm-cell .hm-ico svg{width:22px;height:22px;}html.force-m .m-bottom-nav a.mnav-quick{flex:0 0 72px;width:64px;height:64px;top:-24px;margin:0 3px;background:linear-gradient(160deg,#f7e8c8,#d9b96f);box-shadow:0 12px 24px -10px rgba(160,128,60,.75),inset 0 1px 0 rgba(255,255,255,.85);color:#5a4518;}html.force-m .m-bottom-nav a.mnav-quick .m-q-ico{width:28px;height:28px;}html.force-m .m-bottom-nav a.mnav-quick .m-q-ico svg{width:26px;height:26px;color:#5a4518;}html.force-m .m-bottom-nav a.mnav-quick .m-q-tx{font-size:11px;color:#5a4518;}html.force-m .home-hero{padding:10px 16px 12px;}html.force-m .home-hero .hh-top{margin-bottom:8px;}html.force-m .home-hero .hh-search{margin-bottom:10px;}html.force-m .home-hero .hh-search input{height:38px;}html.force-m .home-hero .hh-foot{margin-top:6px;}html.force-m .home-hero .hh-big{padding:9px 12px;gap:9px;}html.force-m .home-hero .hh-big .hb-ico{width:30px;height:30px;border-radius:10px;}html.force-m .home-hero .hh-big .hb-ico svg{width:17px;height:17px;}html.force-m .home-hero{padding:18px 16px 0;}html.force-m .home-hero .hh-top{margin-bottom:12px;}html.force-m .home-hero .hh-search{margin-bottom:16px;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-foot{margin-top:14px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero::after{border-radius:0 0 26px 26px;}html.force-m .m-bottom-nav a.mnav-quick{flex:0 0 78px;width:70px;height:70px;top:-10px;margin:0 3px;}html.force-m .m-bottom-nav a.mnav-quick .m-q-ico{width:30px;height:30px;}html.force-m .m-bottom-nav a.mnav-quick .m-q-ico svg{width:28px;height:28px;}html.force-m .m-bottom-nav a.mnav-quick .m-q-tx{font-size:11.5px;}html.force-m .modal-mask{background:rgba(15,23,42,.72);}html.force-m .home-hero{padding:18px 16px 0;}html.force-m .home-hero .hh-search input{height:38px;}html.force-m .home-hero .hh-big{padding:10px 12px;gap:9px;}html.force-m .home-hero .hh-big .hb-ico{width:34px;height:34px;border-radius:12px;}html.force-m .home-hero .hh-big .hb-ico svg{width:18px;height:18px;}html.force-m .m-pos-mask{background:rgba(15,23,42,.72);}html.force-m .m-pos-mask{display:block;}html.force-m body.pos-cart-open .m-pos-mask{opacity:1;pointer-events:auto;}html.force-m .home-hero{padding:56px 16px 0;}html.force-m .home-hero .hh-foot{margin-bottom:16px;}html.force-m .home-hero .hh-top{margin-bottom:18px;}html.force-m .home-hero .hh-search{margin-bottom:22px;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero{padding:200px 16px 0;}html.force-m .home-hero .hh-foot{margin-bottom:20px;}html.force-m .home-hero .hh-top{margin-bottom:28px;}html.force-m .home-hero .hh-search{margin-bottom:46px;}html.force-m .home-hero{padding:calc(16px + env(safe-area-inset-top,0px)) 20px 0;}html.force-m .home-hero .hh-foot{margin-top:14px;}html.force-m .home-hero .hh-top{margin-bottom:12px;}html.force-m .home-hero .hh-search{margin-bottom:16px;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero{padding:25dvh 20px 0;}html.force-m .home-hero .hh-foot{margin-top:0;margin-bottom:10dvh;}html.force-m .home-hero .hh-top{margin-bottom:20dvh;}html.force-m .home-hero .hh-search{margin-bottom:20dvh;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero .hh-big .hb-tx i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}html.force-m .home-hero{padding:25dvh 20px 0;}html.force-m .home-hero .hh-foot{margin-top:0;margin-bottom:6dvh;}html.force-m .home-hero .hh-top{margin-bottom:20dvh;}html.force-m .home-hero .hh-search{margin-bottom:21dvh;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;}html.force-m .home-hero .hh-big .hb-tx i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%;}html.force-m .home-hero{min-height:50vh;padding:14vh 20px 0;}html.force-m .home-hero .hh-foot{margin-top:0;margin-bottom:5vh;}html.force-m .home-hero .hh-top{margin-bottom:12vh;}html.force-m .home-hero .hh-search{margin-bottom:14vh;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;}html.force-m .home-hero .hh-big .hb-tx i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%;}html.force-m .home-hero{min-height:64vh;padding:19vh 20px 0;box-sizing:border-box;}html.force-m .home-hero .hh-foot{margin-top:0;margin-bottom:4.5vh;}html.force-m .home-hero .hh-top{margin-bottom:11.5vh;}html.force-m .home-hero .hh-search{margin-bottom:13vh;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;}html.force-m .home-hero .hh-big .hb-tx i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%;}html.force-m .home-hero{position:relative;height:62vh;padding:0 20px;}html.force-m .home-hero .hh-foot{position:absolute;left:0;right:0;top:28.6%;margin:0;}html.force-m .home-hero .hh-top{position:absolute;left:0;right:0;top:38.5%;margin:0;}html.force-m .home-hero .hh-search{position:absolute;left:0;right:0;top:63%;margin:0;}html.force-m .home-hero .hh-main{position:absolute;left:0;right:0;top:90.6%;margin:0;}html.force-m .home-hero .hh-big{padding:8px 10px;gap:8px;}html.force-m .home-hero .hh-big .hb-ico{width:32px;height:32px;border-radius:10px;}html.force-m .home-hero .hh-big .hb-ico svg{width:18px;height:18px;}html.force-m .home-hero .hh-big .hb-tx b{font-size:13.5px;}html.force-m .home-hero .hh-big .hb-tx i{font-size:10px;margin-top:0;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;}html.force-m .home-hero .hh-big .hb-tx i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%;}html.force-m .home-hero{position:static;height:auto;min-height:0;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 0;}html.force-m .home-hero .hh-foot{position:static;margin:14px auto 0;}html.force-m .home-hero .hh-top{position:static;margin:0 0 12px;}html.force-m .home-hero .hh-search{position:static;margin:0 0 16px;}html.force-m .home-hero .hh-main{position:static;margin:0;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero .hh-big .hb-tx b{font-size:13.5px;}html.force-m .home-hero .hh-big .hb-tx i{font-size:11px;margin-top:2px;white-space:normal;overflow:visible;text-overflow:clip;}html.force-m .home-hero{position:static;height:auto;min-height:0;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 20px;}html.force-m .home-hero .hh-foot{position:static;margin-top:14px;}html.force-m .home-hero .hh-top{position:static;margin-bottom:12px;}html.force-m .home-hero .hh-search{position:static;margin-bottom:16px;}html.force-m .home-hero .hh-main{position:static;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero .hh-big .hb-tx b{font-size:14.5px;}html.force-m .home-hero .hh-big .hb-tx i{font-size:11px;margin-top:2px;white-space:normal;overflow:visible;text-overflow:clip;}html.force-m .home-hero{position:static;height:auto;min-height:0;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 20px;}html.force-m .home-hero .hh-foot{position:static;margin-top:14px;}html.force-m .home-hero .hh-top{position:static;margin-top:20px;margin-bottom:12px;}html.force-m .home-hero .hh-search{position:static;margin-top:52px;margin-bottom:16px;}html.force-m .home-hero .hh-main{position:static;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero .hh-big .hb-tx b{font-size:14.5px;}html.force-m .home-hero .hh-big .hb-tx i{font-size:11px;margin-top:2px;white-space:normal;overflow:visible;text-overflow:clip;}html.force-m .home-hero{padding:calc(16px + env(safe-area-inset-top,0px)) 20px 0;}html.force-m .home-hero{position:relative;height:92vh;padding:0 20px;}html.force-m .home-hero .hh-foot{position:absolute;left:0;right:0;top:28%;margin:0;}html.force-m .home-hero .hh-top{position:absolute;left:0;right:0;top:38%;margin:0;}html.force-m .home-hero .hh-search{position:absolute;left:0;right:0;top:61%;margin:0;}html.force-m .home-hero .hh-main{position:absolute;left:0;right:0;top:89%;margin:0;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:8px 12px;gap:10px;}html.force-m .home-hero .hh-big .hb-ico{width:32px;height:32px;border-radius:10px;}html.force-m .home-hero .hh-big .hb-ico svg{width:18px;height:18px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;}html.force-m .home-hero .hh-big .hb-tx b{font-size:13.5px;}html.force-m .home-hero .hh-big .hb-tx i{font-size:10.5px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}html.force-m .home-hero .hh-big{height:48px;padding:0 12px;gap:10px;align-items:center;}html.force-m .home-hero .hh-big .hb-ico{width:32px;height:32px;border-radius:10px;flex-shrink:0;}html.force-m .home-hero .hh-big .hb-ico svg{width:18px;height:18px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;justify-content:center;}html.force-m .home-hero .hh-big .hb-tx b{font-size:13.5px;line-height:1.2;}html.force-m .home-hero .hh-big .hb-tx i{font-size:10.5px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%;}html.force-m .home-hero{position:static;height:auto;min-height:0;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 0;}html.force-m .home-hero .hh-foot{position:static;margin-top:14px;}html.force-m .home-hero .hh-top{position:static;margin-top:20px;margin-bottom:12px;}html.force-m .home-hero .hh-search{position:static;margin-top:52px;margin-bottom:16px;}html.force-m .home-hero .hh-main{position:static;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;height:auto;align-items:stretch;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;justify-content:flex-start;}html.force-m .home-hero .hh-big .hb-tx b{font-size:14.5px;line-height:1.25;}html.force-m .home-hero .hh-big .hb-tx i{font-size:11px;margin-top:2px;white-space:normal;overflow:visible;text-overflow:clip;display:block;max-width:100%;}html.force-m .home-hero{position:relative;height:92vh;padding:0 20px;}html.force-m .home-hero .hh-foot{position:absolute;left:0;right:0;top:28%;margin:0;}html.force-m .home-hero .hh-top{position:absolute;left:0;right:0;top:38%;margin:0;}html.force-m .home-hero .hh-search{position:absolute;left:0;right:0;top:61%;margin:0;}html.force-m .home-hero .hh-main{position:absolute;left:0;right:0;top:89%;margin:0;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{height:64px;padding:0 12px;gap:10px;align-items:center;}html.force-m .home-hero .hh-big .hb-ico{width:38px;height:38px;border-radius:12px;flex-shrink:0;}html.force-m .home-hero .hh-big .hb-ico svg{width:20px;height:20px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;justify-content:center;}html.force-m .home-hero .hh-big .hb-tx b{font-size:14px;line-height:1.2;}html.force-m .home-hero .hh-big .hb-tx i{font-size:10.5px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%;}html.force-m .home-hero{position:relative;height:600px;padding:0 20px;}html.force-m .home-hero .hh-foot{position:absolute;left:0;right:0;top:27%;margin:0;}html.force-m .home-hero .hh-top{position:absolute;left:0;right:0;top:36%;margin:0;}html.force-m .home-hero .hh-search{position:absolute;left:0;right:0;top:60%;margin:0;}html.force-m .home-hero .hh-main{position:absolute;left:0;right:0;top:87%;margin:0;}html.force-m .home-hero{position:static;height:auto;min-height:0;padding:56px 16px 0;margin:0 -14px 18px;}html.force-m .home-hero .hh-foot{position:static;margin:0 0 16px;text-align:left;padding-left:12px;font-size:12.5px;}html.force-m .home-hero .hh-top{position:static;margin:0 0 18px;padding-left:10px;}html.force-m .home-hero .hh-store{font-size:20px;}html.force-m .home-hero .hh-search{position:static;margin:66px 0 22px;}html.force-m .home-hero .hh-main{position:static;margin:59px 0 0;}html.force-m .home-hero .hh-search input{height:42px;}html.force-m .home-hero .hh-big{padding:12px 13px;gap:11px;height:auto;}html.force-m .home-hero .hh-big .hb-ico{width:40px;height:40px;border-radius:14px;}html.force-m .home-hero .hh-big .hb-ico svg{width:21px;height:21px;}html.force-m .home-hero .hh-big .hb-tx{min-width:0;flex:1;justify-content:flex-start;}html.force-m .home-hero .hh-big .hb-tx b{font-size:14.5px;line-height:1.25;}html.force-m .home-hero .hh-big .hb-tx i{font-size:11px;margin-top:2px;white-space:normal;overflow:visible;text-overflow:clip;display:block;max-width:100%;}html.force-m .home-hero .hh-big .hb-tx i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}html.force-m .home-hero .hh-big .hb-tx i{display:none;}html.force-m .home-hero .hh-big{padding:8px 13px;gap:10px;}html.force-m .home-hero .hh-big .hb-ico{width:34px;height:34px;border-radius:11px;}html.force-m .home-hero .hh-big .hb-ico svg{width:18px;height:18px;}html.force-m .home-hero .hh-big .hb-tx b{font-size:15px;}html.force-m .home-hero .hh-search{background:transparent;border:0;box-shadow:none;height:auto;padding:0;border-radius:0;}html.force-m .home-hero .hh-search input{height:42px;background:rgba(255,255,255,.94);border-radius:21px;padding:0 16px 0 40px;color:#0f172a;box-shadow:0 8px 18px -10px rgba(15,23,42,.4);}html.force-m .home-hero .hh-search .s-ico{color:#8b95a8;}html.force-m .home-hero .hh-search input::placeholder{color:#9aa4b8;}html.force-m .home-hero .hh-search{display:flex;align-items:center;gap:4px;height:46px;margin:66px 0 22px;padding:0 8px 0 16px;border-radius:23px;background:rgba(6,18,12,.55);border:1px solid rgba(255,255,255,.24);box-shadow:0 8px 18px -10px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.18);}html.force-m .home-hero .hh-search .s-ico{position:static;transform:none;color:rgba(255,255,255,.85);flex:none;}html.force-m .home-hero .hh-search input{flex:1;min-width:0;height:100%;padding:0 6px;background:transparent;border:0;color:#fff;font-size:13.5px;outline:none;}html.force-m .home-hero .hh-search input::placeholder{color:rgba(255,255,255,.72);}html.force-m .home-hero .hh-search{margin:74px auto 22px;max-width:360px;}html.force-m .home-hero .hh-main{margin:49px 0 0;}html.force-m .home-hero{padding:70px 16px 12px;}html.force-m .home-hero .hh-top{margin:16px 0 18px;}html.force-m .home-hero .hh-search{margin:66px auto 16px;}html.force-m .home-hero .hh-main{margin:15px 0 0;}html.force-m .home-hero{padding:calc(85px + env(safe-area-inset-top,0px)) 16px 12px;}html.force-m .home-hero .hh-top{margin:0 0 12px;padding-left:10px;}html.force-m .home-hero .hh-foot{margin:0 0 14px;padding-left:12px;text-align:left;font-size:12.5px;}html.force-m .home-hero .hh-search{margin:34px auto 14px;}html.force-m .home-hero .hh-main{margin:12px 0 0;}html.force-m .home-hero .hh-store{color:#f0d9a3;-webkit-text-stroke:1px rgba(90,60,10,.45);text-shadow:0 2px 4px rgba(0,0,0,.5),0 4px 12px rgba(0,0,0,.35);font-size:22px;font-weight:800;}html.force-m .home-hero .hh-search{margin:44px auto 14px;}html.force-m .hh-search .hh-drop{position:fixed;max-height:320px;}html.force-m .qp-panel{max-height:70vh;}html.force-m .hm-grid{grid-auto-rows:minmax(86px,1fr);}html.force-m .home-body{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px));}html.force-m .content{padding:0 20px;}html.force-m .content:has(.home-hero){padding:0 20px;}html.force-m .home-hero{margin:0 -20px 18px;}html.force-m .home-body{margin:0 -20px;}html.force-m .home-hero{margin:0 -21px 18px;}html.force-m .home-body{margin:0 -21px;}html.force-m .home-body{padding:3px 0 0;}html.force-m .hm-group{margin:0 -21px;border-radius:0;padding:13px 12px 6px;}html.force-m .content{padding:0;}html.force-m .content:has(.home-hero){padding:0;}html.force-m .home-hero{margin:0 0 18px;}html.force-m .home-body{margin:0;padding:3px 0 0;}html.force-m .hm-group{margin:0;border-radius:0;padding:13px 12px 6px;}html.force-m .pg.pg-page{padding:0 10px;}html.force-m .home-hero{background:linear-gradient(180deg,rgba(9,22,15,.26) 0%,rgba(9,22,15,.06) 42%,rgba(12,26,18,.30) 70%,rgba(255,255,255,0) 86%,#ffffff 100%),url('../img/home-hero-bg.jpg') center 12% / cover no-repeat !important;}html.force-m .m-pos-bar,html.force-m .pos-right,html.force-m .m-pos-cart,html.force-m .m-addbar,html.force-m .m-mem-addbar,html.force-m .m-bottom-nav,html.force-m .qp-panel,html.force-m .hh-search .hh-drop{-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform;}html.force-m .pg-abs .m-pos-bar,html.force-m .pg-abs .pos-right,html.force-m .pg-abs .m-pos-cart,html.force-m .pg-abs .m-addbar,html.force-m .pg-abs .m-mem-addbar,html.force-m .pg-abs .m-pos-mask{opacity:0;visibility:hidden;}html.force-m .pg.pg-settled .m-pos-bar,html.force-m .pg.pg-settled .pos-right,html.force-m .pg.pg-settled .m-pos-cart,html.force-m .pg.pg-settled .m-addbar,html.force-m .pg.pg-settled .m-mem-addbar,html.force-m .pg.pg-settled .m-pos-mask{opacity:1;visibility:visible;transition:opacity .18s ease;}html.force-m .pg.pg-settled .m-pos-mask{opacity:0;visibility:hidden;}html.force-m body.pos-drawer-open .pg.pg-settled .m-pos-mask,html.force-m body.pos-cart-open .pg.pg-settled .m-pos-mask{opacity:1;visibility:visible;}html.force-m .home-body{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px));}html.force-m .home-hero{position:sticky !important;top:0;z-index:30;}html.force-m button,html.force-m a,html.force-m .hm-cell,html.force-m .m-bottom-nav a,html.force-m .m-chip,html.force-m .hh-drop .hd-item{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;}html.force-m .pg .pager,html.force-m .pg .m-pager{position:fixed;left:0;right:0;bottom:calc(61px + env(safe-area-inset-bottom,0px));z-index:40;margin:0;padding:10px 14px;background:#fff;box-shadow:0 -6px 16px -12px rgba(15,23,42,.22);}html.force-m .pg:has(.pager),html.force-m .pg:has(.m-pager){padding-bottom:calc(112px + env(safe-area-inset-bottom,0px));}html.force-m .pg .pager,html.force-m .pg .m-pager{bottom:calc(71px + env(safe-area-inset-bottom,0px));}html.force-m .pg:has(.pager),html.force-m .pg:has(.m-pager){padding-bottom:calc(122px + env(safe-area-inset-bottom,0px));}html.force-m .content,html.force-m body,html.force-m #view{overscroll-behavior-y:none;-webkit-overflow-scrolling:touch;}html.force-m .pg-abs .pager,html.force-m .pg-abs .m-pager{opacity:0;visibility:hidden;}html.force-m .pg.pg-settled .pager,html.force-m .pg.pg-settled .m-pager{opacity:1;visibility:visible;transition:opacity .18s ease;}html.force-m .pos-right.m-checkout{overflow-y:auto;overscroll-behavior-y:contain;}html.force-m .pos-right.m-checkout .m-checkout-body{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px));}html.force-m .pos-right.m-checkout .pos-submit-row{position:sticky;bottom:0;background:#fff;padding:10px 0 6px;z-index:5;}html.force-m .m-checkout #pos-benefits{max-height:200px;overflow-y:auto;}.pos-right:not(.m-checkout)>.card .pos-total-bar{position:relative;z-index:2;background:#fff;margin:9px 0 12px;border-radius:12px;}html.force-m .pos-right:not(.m-checkout)>.card .pos-total-bar{display:flex !important;position:relative !important;z-index:2 !important;background:#fff !important;margin:8px 0 10px !important;padding:8px 10px !important;border-radius:12px !important;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{z-index:1;}.pos-right:not(.m-checkout)>.card .pay-box{order:1;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{order:2;position:static !important;margin-top:0;}.pos-right:not(.m-checkout)>.card .pos-total-bar{order:3;position:relative;z-index:2;background:#fff;margin:9px 0 0;border-radius:12px;}html.force-m .pos-right:not(.m-checkout)>.card .pos-total-bar{order:3 !important;display:flex !important;position:relative !important;z-index:2 !important;background:#fff !important;margin:8px 0 0 !important;padding:8px 10px !important;border-radius:12px !important;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{z-index:1;}.pos-right:not(.m-checkout)>.card .pos-total-bar{display:none !important;}.pos-right:not(.m-checkout)>.card .pay-box{order:0;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{order:0;position:sticky !important;bottom:0 !important;z-index:3 !important;margin-top:auto !important;}.pos-right:not(.m-checkout)>.card .pos-total-bar{order:0;}.pos-other-benefits{position:relative;margin:0 0 12px;}.ob-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid var(--line,#e5e7eb);border-radius:10px;background:#fff;font-size:13px;font-weight:600;color:var(--ink-1,#111);cursor:pointer;user-select:none;}.ob-head .ob-arrow{font-size:11px;color:var(--ink-3,#999);transition:transform .15s ease;}.pos-other-benefits.open .ob-head .ob-arrow{transform:rotate(180deg);}.ob-drop{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;background:#fff;border:1px solid var(--line,#e5e7eb);border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.10);padding:8px;display:flex;flex-direction:column;gap:6px;max-height:210px;overflow-y:auto;}.ob-drop .pos-coupon-card{display:flex;align-items:center;gap:8px;justify-content:space-between;border:1px solid var(--line,#e5e7eb);border-radius:10px;padding:7px 11px;font-size:12.5px;line-height:1.4;cursor:pointer;background:#fff;text-align:left;width:100%;}.ob-drop .pos-coupon-card b{color:var(--ink-1,#111);font-size:12.5px;}.ob-drop .pos-coupon-card span{font-size:11px;color:var(--ink-3,#999);}.ob-drop .pos-coupon-card.on{border-color:var(--brand,#a8123f);background:rgba(168,18,63,.06);}.ob-drop .pos-coupon-card.on b{color:var(--brand,#a8123f);}.ob-drop .pos-coupon-card:disabled{opacity:.5;cursor:not-allowed;}.pos-coupon-tip{margin-top:4px;font-size:11.5px;line-height:1.5;color:var(--brand,#a8123f);}.pos-right:not(.m-checkout)>.card .pay-box #pos-benefits{display:none !important;}html.force-m #pos-other-benefits{display:none !important;}html.force-m .pos-right:not(.m-checkout)>.card .pay-box #pos-benefits{display:block !important;}.ob-head{background:linear-gradient(180deg,#ffe9a8,#f7c948);border:1px solid #dfa72c;color:#7a3d00;box-shadow:0 2px 6px rgba(183,134,11,.25),inset 0 1px 0 rgba(255,255,255,.55);text-shadow:0 1px 0 rgba(255,255,255,.35);}.ob-head .ob-arrow{font-size:17px;font-weight:800;line-height:1;}html.force-m #pos-other-benefits{display:block !important;}html.force-m #pos-benefits{display:none !important;}html.force-m .pos-right:not(.m-checkout)>.card .pay-box #pos-benefits{display:none !important;}.ob-head{display:flex;align-items:center;gap:7px;font-size:16px;font-weight:700;padding:11px 14px;white-space:nowrap;cursor:pointer;}.ob-check{display:inline-flex;align-items:center;cursor:pointer;margin:0;}.ob-check input{width:16px;height:16px;margin:0;accent-color:#dfa72c;}#pos-received{color:#d32f2f !important;font-weight:700 !important;font-size:19px !important;}.mpf-field #pos-received{color:#d32f2f !important;font-weight:700 !important;font-size:19px !important;}.pos-right:not(.m-checkout) .pos-submit-bar .field{flex:1 1 0;min-width:0;}.pos-right:not(.m-checkout) .pos-submit-bar .field input{width:100%;height:40px;box-sizing:border-box;}.pos-coupon-tip{white-space:nowrap;font-size:14px;margin-top:6px;display:flex;align-items:center;gap:6px;color:var(--brand,#a8123f);line-height:1.4;}.coupon-check{display:inline-flex;align-items:center;gap:5px;cursor:pointer;}.coupon-check input{width:15px;height:15px;margin:0;accent-color:#dfa72c;}.ob-check{display:none !important;}.ob-head{transition:transform .15s ease,box-shadow .15s ease,background .15s ease;}.ob-head .ob-arrow{font-size:20px;font-weight:800;}.ob-head:hover{background:linear-gradient(180deg,#ffefbe,#f9d44e);box-shadow:0 4px 12px rgba(183,134,11,.38),inset 0 1px 0 rgba(255,255,255,.65);transform:translateY(-1px);}.ob-head:hover .ob-arrow{color:#5f2e00;}html.force-m #pos-other-benefits{margin:2px 0 6px;}html.force-m .m-checkout .m-checkout-items{margin:6px 0 2px;}html.force-m .m-checkout .pay-box{margin-top:4px;}html.force-m .m-checkout .m-pos-fields{margin-top:6px;}html.force-m .m-checkout .m-checkout-items{flex:0 1 auto;}html.force-m .m-checkout .pay-box{margin-top:2px;}html.force-m .m-checkout .m-pos-fields{margin-top:4px;}.pos-right:not(.m-checkout)>.card #pos-member{margin-bottom:8px;}.pos-right:not(.m-checkout)>.card #pos-other-benefits{margin-bottom:8px !important;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{min-height:90px;}.pos-right:not(.m-checkout)>.card .pay-box{margin-top:8px;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{flex:0 1 auto;min-height:60px;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{margin-top:0;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{margin-top:0 !important;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{flex:1 1 auto;min-height:90px;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{margin-top:auto !important;}.pos-right:not(.m-checkout) .pos-submit-bar .form-row{gap:2px !important;}.pos-right:not(.m-checkout) .pos-submit-bar .form-row .field{margin:0 !important;}html.force-m .m-checkout .m-checkout-items{flex:1 1 auto;min-height:72px;}html.force-m .m-checkout .m-pos-fields{gap:0;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{flex:1 1 0;min-height:0;}html.force-m .m-checkout-body{min-height:100%;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{flex:0 1 auto;min-height:90px;}html.force-m .m-checkout .m-checkout-items{flex:1 1 0;min-height:72px;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{position:static !important;bottom:auto !important;margin-top:auto !important;}html.force-m .m-checkout-body{min-height:90dvh;}.pos-right:not(.m-checkout)>.card{position:relative;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{position:absolute !important;bottom:20px !important;left:20px !important;right:20px !important;margin:0 !important;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{margin-bottom:170px;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{flex:1 1 0;min-height:0;margin-bottom:0;}.pos-right:not(.m-checkout)>.card .pos-submit-bar{position:static !important;bottom:auto !important;margin-top:0 !important;}.pos-right:not(.m-checkout)>.card .pos-cart-scroll{flex:1 1 0;min-height:0;margin-bottom:0;}html.force-m .m-checkout .pay-method .pm-ico svg{width:23px;height:23px;}html.force-m .m-checkout .pay-grid:not(.compact){display:grid;grid-template-columns:repeat(4,1fr);gap:6px;}html.force-m .m-checkout .pay-grid:not(.compact) .pay-method{flex-direction:column;gap:2px;height:auto;padding:8px 2px;border-radius:8px;}html.force-m .m-checkout .pay-grid:not(.compact) .pay-method .pm-ico{margin-bottom:3px;}html.force-m .pos-right.m-checkout{max-height:100dvh;}html.force-m .pos-right.m-checkout .m-checkout-body{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px));}html.force-m .m-checkout #pos-member,html.force-m .m-checkout #pos-member.member-line{border-radius:18px !important;}html.force-m .ob-head{padding:15px 14px;}html.force-m #pos-other-benefits{margin:0 0 6px;}html.force-m .ob-head{padding:10px 12px;border-radius:18px;}html.force-m .ob-label b{display:block;font-size:15px;line-height:1.25;color:#7a3d00;}html.force-m .ob-label i{display:block;font-style:normal;font-size:11.5px;color:#7a3d00;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;}.ob-head{border-radius:18px;}.ob-label b{display:block;font-size:15px;line-height:1.35;color:#7a3d00;}.ob-label i{display:block;font-style:normal;font-size:11.5px;color:#7a3d00;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px;margin-top:3px;}html.force-m .ob-head{gap:14px;}.ob-label{display:flex;align-items:baseline;gap:8px;min-width:0;}.ob-label b{white-space:nowrap;}.ob-label i{margin-top:0;}html.force-m .ob-head{padding:7px 12px;}.pos-right:not(.m-checkout) .ob-head{padding:4px 10px;}html.force-m .ob-head{padding:4px 12px;}html.force-m .ob-head{font-size:13.5px;}.ob-head{font-size:12px;}html.force-m .ob-head{font-size:12px;}html.force-m .m-pos-fields{gap:24px;}html.force-m .mpf-field label{margin-bottom:8px;}html.force-m .m-checkout .m-pos-fields{gap:24px;}html.force-m .m-checkout .m-pos-fields{grid-template-columns:auto auto;justify-content:start;gap:12px;}.pos-right:not(.m-checkout) .pos-submit-bar .form-row{gap:12px !important;}*::-webkit-scrollbar{width:8px;height:8px;}*::-webkit-scrollbar-thumb{background:rgba(100,116,139,.35);border-radius:4px;}*::-webkit-scrollbar-thumb:hover{background:rgba(100,116,139,.55);}*::-webkit-scrollbar-track{background:transparent;}.btn,button{transition:transform .08s ease,filter .15s ease,box-shadow .15s ease;}.btn:active,button:active{transform:scale(.97);filter:brightness(.95);}input,select,textarea{transition:border-color .15s ease,box-shadow .15s ease;}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 2px rgba(37,99,235,.15);}.card,.modal{border-radius:16px;border:1px solid rgba(15,23,42,.06);box-shadow:0 1px 3px rgba(15,23,42,.04),0 10px 28px rgba(15,23,42,.07);}.pos-coupon-card,.pos-card-btn,.pm-dd-row,.ob-head,.pay-method{transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;}.pos-coupon-card:hover,.pos-card-btn:hover,.pm-dd-row:hover,.ob-head:hover,.pay-method:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(15,23,42,.12);}input,select,td,th,.pos-total,.t,[class*="amount"]{font-variant-numeric:tabular-nums;}.modal-mask{background:rgba(15,23,42,.46);backdrop-filter:blur(3px);}.modal{box-shadow:0 24px 64px rgba(15,23,42,.32);}html:not(.force-m) .svc-item,.pos-right:not(.m-checkout) .pos-coupon-card,.pos-right:not(.m-checkout) .pos-card-btn,.pos-right:not(.m-checkout) .pay-method{position:relative;transform-style:preserve-3d;transition:transform .12s ease,border-color .2s ease,box-shadow .2s ease;}html:not(.force-m) .svc-item::after,.pos-right:not(.m-checkout) .pos-coupon-card::after,.pos-right:not(.m-checkout) .pos-card-btn::after,.pos-right:not(.m-checkout) .pay-method::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(160px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.32),transparent 65%);opacity:0;transition:opacity .2s ease;z-index:1;}html:not(.force-m) .svc-item:hover,.pos-right:not(.m-checkout) .pos-coupon-card:hover,.pos-right:not(.m-checkout) .pos-card-btn:hover,.pos-right:not(.m-checkout) .pay-method:hover{transform:perspective(620px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-1px);border-color:var(--primary);box-shadow:0 6px 18px rgba(15,23,42,.14),0 0 0 1px rgba(233,200,128,.4),0 0 22px rgba(233,200,128,.18);}html:not(.force-m) .svc-item:hover::after,.pos-right:not(.m-checkout) .pos-coupon-card:hover::after,.pos-right:not(.m-checkout) .pos-card-btn:hover::after,.pos-right:not(.m-checkout) .pay-method:hover::after{opacity:1;}html.force-m .ch-donut-row{flex-direction:column;gap:12px;}html.force-m .pc-donut-chart{height:250px;}html.force-m .ch-side-vert{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%;}html.force-m .ch-card.ch-miniv{min-width:0;}html.force-m .today-big{padding:14px 16px;}html.force-m .ch-group-label{flex-wrap:wrap;line-height:1.6;}html.force-m .today-duo{grid-template-columns:1fr 1fr;gap:10px;}html.force-m .today-big{padding:12px 14px;}html.force-m .today-big .tb-label{font-size:12px;}html.force-m .today-big .tb-value{font-size:22px;letter-spacing:-0.5px;}html.force-m .today-big .tb-sub{font-size:10.5px;line-height:1.5;margin-top:3px;}html.force-m .an-grid{grid-template-columns:repeat(4,1fr);gap:8px;}html.force-m .an-box{padding:10px 4px;border-radius:12px;}html.force-m .an-box .an-l{font-size:11px;}html.force-m .an-box .an-v{font-size:18px;}.an-grid{grid-template-columns:repeat(4,1fr);}.an-inline{display:flex;flex-wrap:wrap;align-items:baseline;gap:26px;margin:2px 0 14px 2px;}.an-inline-item .an-i-l{font-size:13px;color:var(--ink-3);margin-right:6px;}.an-inline-item .an-i-v{font-size:22px;font-weight:800;color:#0f172a;}html.force-m .an-inline{gap:12px;margin:0 0 14px 0;}html.force-m .an-inline-item .an-i-l{font-size:11.5px;margin-right:4px;}html.force-m .an-inline-item .an-i-v{font-size:18px;}.an-inline-item .an-i-v{color:#D6006E;}.an-inline-item .an-i-u{font-size:12px;font-weight:500;color:#94a3b8;margin-left:3px;}html.force-m .an-inline-item .an-i-u{font-size:11px;}.an-inline-item .an-i-v{color:#0f172a;}html.force-m .ch-sub-grid{grid-template-columns:1fr;gap:8px;margin-top:10px;}html.force-m .ch-sub-grid .ch-card.ch-miniv{flex-direction:row;align-items:center;gap:10px;min-height:50px;padding:10px 12px;}html.force-m .ch-sub-grid .ch-card.ch-miniv .ch-miniv-name{font-size:13px;color:#475569;overflow:visible;text-overflow:clip;white-space:normal;}html.force-m .ch-sub-grid .ch-card.ch-miniv .ch-miniv-val{font-size:16px;font-weight:800;color:#0f172a;white-space:nowrap;margin-left:auto;}html.force-m .ch-sub-grid .ch-card.ch-miniv .ch-miniv-cnt{font-size:12px;color:#94a3b8;white-space:nowrap;}.dept-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px 2px;}.dept-filter .df-label{font-size:13px;font-weight:600;color:#64748b;}.dept-filter .df-chips{display:flex;flex-wrap:wrap;gap:8px;}.dept-filter .df-chip{font-size:12.5px;padding:5px 15px;border-radius:999px;border:1.5px solid #dbe2ea;color:#64748b;background:#fff;cursor:pointer;user-select:none;transition:all .18s ease;}.dept-filter .df-chip:hover{border-color:#c9a34e;color:#8a6d1f;}.dept-filter .df-chip.on{background:linear-gradient(135deg,#d9b45c,#b8860b);border-color:#b8860b;color:#fff;font-weight:600;box-shadow:0 2px 8px rgba(184,134,11,.25);}html.force-m .dept-filter{margin:0 0 12px 0;}html.force-m .dept-filter .df-chip{font-size:12px;padding:6px 13px;}.pc-donut-empty{font-size:13px;color:#94a3b8;text-align:center;line-height:1.6;padding:0 8px;}.pc-donut-placeholder{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:46%;aspect-ratio:1;border-radius:50%;border:18px solid #eef1f5;background:#fff;box-sizing:border-box;}html.force-m .pc-donut-placeholder{width:52%;border-width:20px;}.a-grid{display:grid;gap:14px;margin-bottom:14px;}.a-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-bottom:14px;}.a-kpi{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:13px 15px;min-width:0;box-shadow:0 1px 3px rgba(15,23,42,.04);}.a-kpi-lb{font-size:12px;color:#64748b;}.a-kpi-v{font-size:22px;font-weight:700;color:#0f172a;margin-top:5px;font-variant-numeric:tabular-nums;white-space:nowrap;}.a-kpi-v small{font-size:12px;color:#94a3b8;font-weight:500;margin-left:2px;}.a-kpi-ft{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:10.5px;color:#94a3b8;flex-wrap:wrap;}.a-delta{font-size:10.5px;font-weight:600;padding:1px 6px;border-radius:4px;white-space:nowrap;}.a-delta.up{color:#3c7a5c;background:rgba(60,122,92,.12);}.a-delta.down{color:#b25a4e;background:rgba(178,90,78,.12);}.a-delta.flat{color:#94a3b8;background:#f1f5f9;}.a-g84{grid-template-columns:2fr 1fr;}.a-g3{grid-template-columns:repeat(3,1fr);}.a-g84b{grid-template-columns:2fr 1fr;}.a-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;min-width:0;box-shadow:0 1px 3px rgba(15,23,42,.04);}.a-card-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;min-height:20px;}.a-card-hd b{font-size:13.5px;font-weight:600;color:#0f172a;}.a-card-hd .a-sub{font-size:11px;color:#94a3b8;white-space:nowrap;}.a-card-hd a.btn{margin-left:auto;}.a-donut-wrap{display:flex;align-items:center;gap:14px;}.a-donut{flex:none;}.a-leg-list{flex:1;min-width:140px;display:flex;flex-direction:column;gap:6px;}.a-leg-row{display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;gap:6px;font-size:11.5px;padding:4px 3px;border-radius:6px;cursor:pointer;}.a-leg-row:hover{background:#f8fafc;}.a-leg-row i{width:9px;height:9px;border-radius:3px;}.a-leg-am{font-weight:600;font-variant-numeric:tabular-nums;}.a-leg-pc{color:#94a3b8;font-size:10.5px;width:40px;text-align:right;}.a-pay-foot{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px dashed #eef2f6;font-size:11px;color:#94a3b8;}.a-pay-foot b{color:#334155;font-weight:600;font-variant-numeric:tabular-nums;}.a-proj{padding:6px 0;border-bottom:1px dashed #eef2f6;}.a-proj:last-child{border-bottom:0;padding-bottom:0;}.a-prow{display:flex;align-items:center;gap:7px;font-size:12px;}.a-pidx{width:15px;font-size:10px;color:#94a3b8;font-variant-numeric:tabular-nums;}.a-pname{flex:1;min-width:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.a-pamt{font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums;}.a-ptrack{height:5px;border-radius:3px;background:#eef2f6;margin:5px 0 0 22px;overflow:hidden;}.a-ptrack i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,rgba(214,0,110,.5),#D6006E);}.a-pmeta{font-size:10px;color:#94a3b8;margin:4px 0 0 22px;}.a-dept-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px dashed #eef2f6;}.a-dept-row:last-child{border-bottom:0;}.a-dept-nm{flex:1;min-width:0;}.a-dept-am{font-weight:600;font-size:14px;font-variant-numeric:tabular-nums;}.a-dept-cn{font-size:10.5px;color:#94a3b8;white-space:nowrap;}.a-ni-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px dashed #eef2f6;font-size:12px;}.a-ni-row:last-child{border-bottom:0;}.a-ni-name{flex:1;color:#475569;}.a-ni-val{font-weight:600;font-variant-numeric:tabular-nums;}.a-ni-cn{font-size:10.5px;color:#94a3b8;width:46px;text-align:right;}.a-ch-row{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px dashed #eef2f6;cursor:pointer;border-radius:6px;}.a-ch-row:last-child{border-bottom:0;}.a-ch-row:hover{background:#fafbfc;}.a-ch-ico{width:26px;height:26px;flex:none;display:grid;place-items:center;}.a-ch-ico svg{width:22px;height:22px;}.a-ch-x{flex:1;min-width:0;font-size:10.5px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.a-ch-am{font-weight:600;font-variant-numeric:tabular-nums;width:76px;text-align:right;}.a-ch-cn{font-size:10.5px;color:#94a3b8;width:44px;text-align:right;}html.force-m .a-kpis{grid-template-columns:repeat(2,1fr);}html.force-m .a-g84,html.force-m .a-g3,html.force-m .a-g84b{grid-template-columns:1fr;}html.force-m .a-donut-wrap{flex-direction:column;align-items:stretch;}html.force-m .a-donut{margin:0 auto;}html.force-m .a-kpi-v{font-size:19px;}@media (max-width:1280px) and (min-width:901px){.a-kpis{grid-template-columns:repeat(3,1fr);}}.av2{--accent:#AE5F68;--accent-rgb:174,95,104;--bg:#F6F2EA;--surface:#FFFFFF;--surface2:#FBF7F0;--surface3:#F5EFE5;--ink:#1F211E;--ink2:#4A4F49;--muted:#8B8F88;--line:#E8E1D4;--line2:#F1EBE0;--r:14px;--gap:14px;--pad:16px;}.av2 *{box-sizing:border-box}.av2 .i{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.av2 .pos{display:flex;height:100vh;overflow:hidden;background:var(--bg);color:var(--ink)}.av2 
 .sidebar{width:208px;flex:none;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:12px 10px;}.av2 .brand{display:flex;align-items:center;gap:9px;padding:4px 8px 16px}.av2 .logo{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;color:#FBF3EA;background:linear-gradient(140deg,#C47E85,var(--accent));}.av2 .brand-txt b{display:block;font-size:13.5px;letter-spacing:.02em;line-height:1.3}.av2 .brand-txt span{font-size:9.5px;color:var(--muted)}.av2 .nav{display:flex;flex-direction:column;gap:1px}.av2 .nav a{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;font-size:12.5px;color:var(--ink2);position:relative;text-decoration:none;}.av2 .nav a:hover{background:var(--surface2)}.av2 .nav a.on{background:rgba(var(--accent-rgb),.12);color:var(--ink);font-weight:600}.av2 .nav a.on::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;border-radius:2px;background:var(--accent)}.av2 .nav a .i{color:var(--muted)}.av2 .nav a.on .i{color:var(--accent)}.av2 .nav .badge{margin-left:auto;font-size:9px;line-height:1;padding:3px 4px;border-radius:4px;background:var(--accent);color:#fff;font-weight:600}.av2 .side-foot{margin-top:auto;padding:10px 8px 2px;border-top:1px solid var(--line2)}.av2 .store-mini{display:flex;align-items:center;gap:7px;padding:6px 4px;border-radius:8px}.av2 .store-mini .ava{width:26px;height:26px;border-radius:7px;background:var(--surface3);display:grid;place-items:center;font-size:10px;color:var(--ink2);flex:none}.av2 .store-mini b{display:block;font-size:10.5px;line-height:1.3}.av2 .store-mini span{font-size:9px;color:var(--muted)}.av2 
 .main{flex:1;min-width:0;display:flex;flex-direction:column}.av2 .topbar{height:52px;flex:none;display:flex;align-items:center;gap:12px;padding:0 18px;background:var(--surface);border-bottom:1px solid var(--line);}.av2 .crumb{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--muted);min-width:0}.av2 .crumb b{color:var(--ink2);font-weight:500}.av2 .crumb .sep{color:var(--line)}.av2 .topbar .spacer{flex:1}.av2 .search{display:flex;align-items:center;gap:6px;width:190px;padding:6px 9px;border-radius:8px;background:var(--surface2);border:1px solid transparent;color:var(--muted);font-size:11.5px}.av2 .search:focus-within{border-color:var(--line);background:var(--surface)}.av2 .search input{border:0;background:none;outline:none;font:inherit;font-size:11.5px;color:var(--ink);width:100%}.av2 .live{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--ink2);background:rgba(var(--accent-rgb),.10);padding:4px 8px;border-radius:6px;white-space:nowrap}.av2 .live i{width:5px;height:5px;border-radius:50%;background:var(--accent)}.av2 .iconb{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--ink2);position:relative}.av2 .iconb:hover{background:var(--surface2)}.av2 .iconb .dot{position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:var(--accent);border:1px solid var(--surface)}.av2 .avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#fff;background:linear-gradient(140deg,var(--accent),#7E3F47)}.av2 .who b{display:block;font-size:10.5px;line-height:1.2}.av2 .who span{font-size:9px;color:var(--muted)}.av2 .content{flex:1;overflow:auto;padding:18px 20px 26px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.av2 .content::-webkit-scrollbar{width:8px}.av2 .content::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}.av2 
 .page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.av2 .page-head h1{font-size:21px;letter-spacing:-.01em;line-height:1.25}.av2 .page-sub{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin-top:5px;flex-wrap:wrap}.av2 .page-sub i{width:3px;height:3px;border-radius:50%;background:#CFC8BA;display:inline-block}.av2 .head-actions{display:flex;align-items:center;gap:8px}.av2 .cmp{display:flex;align-items:center;gap:6px;font-size:10.5px;color:var(--muted)}.av2 .seg-mini{display:flex;background:var(--surface2);border:1px solid var(--line);border-radius:7px;padding:2px}.av2 .seg-mini button{padding:4px 9px;border-radius:5px;font-size:10.5px;color:var(--muted)}.av2 .seg-mini button.on{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06)}.av2 .btn{display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:7px;font-size:11.5px;border:1px solid var(--line);background:var(--surface);color:var(--ink2)}.av2 .btn:hover{background:var(--surface2)}.av2 .btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.av2 .btn.primary:hover{background:#9C515A}.av2 
 .grid{display:grid;gap:var(--gap)}.av2 .kpis{grid-template-columns:repeat(6,1fr)}.av2 .g84{grid-template-columns:2fr 1fr}.av2 .g3{grid-template-columns:repeat(3,1fr)}.av2 .g84-b{grid-template-columns:2fr 1fr}.av2 .mt{margin-top:var(--gap)}.av2 
 .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:var(--pad);min-width:0}.av2 .card-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.av2 .card-hd h3{font-size:12.5px;font-weight:600;display:flex;align-items:center;gap:6px}.av2 .card-hd h3 .i{width:14px;height:14px;color:var(--accent)}.av2 .card-hd .sub{font-size:10px;color:var(--muted);white-space:nowrap}.av2 .card-hd .link{font-size:10.5px;color:var(--muted);display:inline-flex;align-items:center;gap:2px}.av2 .card-hd .link:hover{color:var(--accent)}.av2 .legend{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.av2 .legend span{display:inline-flex;align-items:center;gap:4px}.av2 .legend i{width:8px;height:8px;border-radius:2px;display:inline-block}.av2 .legend i.dash{width:12px;height:0;border-top:1.5px dashed var(--muted);border-radius:0}.av2 
 .kpi{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:13px 15px;position:relative;min-width:0}.av2 .kpi-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10.5px;color:var(--muted)}.av2 .kpi-label .i{width:13px;height:13px;opacity:.7}.av2 .kpi-value{font-size:23px;font-weight:600;letter-spacing:-.025em;line-height:1.3;margin-top:5px;font-variant-numeric:tabular-nums;white-space:nowrap}.av2 .kpi-value small{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0;margin-left:2px}.av2 .kpi-foot{display:flex;align-items:center;gap:5px;margin-top:2px;font-size:10px;color:var(--muted);flex-wrap:wrap}.av2 .delta{font-size:10px;font-weight:600;padding:1px 5px;border-radius:4px;white-space:nowrap}.av2 .delta.up{color:#3C7A5C;background:rgba(60,122,92,.12)}.av2 .delta.down{color:#B25A4E;background:rgba(178,90,78,.12)}.av2 .delta.flat{color:var(--muted);background:var(--surface2)}.av2 .kpi-progress{height:3px;border-radius:2px;background:var(--line2);margin-top:8px;overflow:hidden}.av2 .kpi-progress i{display:block;height:100%;border-radius:2px;background:var(--accent);opacity:.85}.av2 
 .trend{height:206px;position:relative;margin-top:4px}.av2 .trend svg{width:100%;height:100%;overflow:visible}.av2 .trend .gridline{stroke:var(--line2);stroke-width:1;vector-effect:non-scaling-stroke}.av2 .trend .line-now{fill:none;stroke:var(--accent);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.av2 .trend .line-prev{fill:none;stroke:var(--muted);stroke-width:1.3;stroke-dasharray:4 4;opacity:.55;vector-effect:non-scaling-stroke}.av2 .trend .stop-a{stop-color:var(--accent)}.av2 .xaxis{display:flex;justify-content:space-between;font-size:9.5px;color:var(--muted);margin-top:6px;font-variant-numeric:tabular-nums}.av2 .trend-foot{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid var(--line2);font-size:10.5px;color:var(--muted)}.av2 .trend-foot b{color:var(--ink);font-variant-numeric:tabular-nums}.av2 
 .donut-wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.av2 .donut{width:146px;height:146px;border-radius:50%;position:relative;flex:none;background:conic-gradient(#4C8A6B 0 146.5deg,#4A7FB5 146.5deg 207.3deg,var(--accent) 207.3deg 315.3deg,#C9A227 315.3deg 342.7deg,#9A9E97 342.7deg 360deg);}.av2 .donut::after{content:"";position:absolute;inset:22px;border-radius:50%;background:var(--surface)}.av2 .donut-c{position:absolute;inset:0;display:grid;place-content:center;text-align:center;z-index:1}.av2 .donut-c b{font-size:17px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.av2 .donut-c span{font-size:9px;color:var(--muted);display:block;margin-top:1px}.av2 .pay-legend{flex:1;min-width:150px;display:flex;flex-direction:column;gap:8px}.av2 .pay-legend li{display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;gap:7px;font-size:11px}.av2 .pay-legend i{width:8px;height:8px;border-radius:2px}.av2 .pay-legend .nm{color:var(--ink2)}.av2 .pay-legend .am{font-variant-numeric:tabular-nums;font-weight:600;font-size:11px}.av2 .pay-legend .pc{color:var(--muted);font-size:10px;width:34px;text-align:right}.av2 
 .proj{padding:7px 0;border-bottom:1px dashed var(--line2)}.av2 .proj:last-child{border-bottom:0;padding-bottom:0}.av2 .prow{display:flex;align-items:center;gap:7px;font-size:11.5px}.av2 .pidx{width:15px;font-size:9.5px;color:var(--muted);font-variant-numeric:tabular-nums}.av2 .pname{flex:1;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.av2 .pamt{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.av2 .ptrack{height:5px;border-radius:3px;background:var(--line2);margin:5px 0 0 22px;overflow:hidden}.av2 .ptrack i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,rgba(var(--accent-rgb),.5),var(--accent))}.av2 .pmeta{font-size:9.5px;color:var(--muted);margin:4px 0 0 22px}.av2 
 .emp{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:8px;padding:7px 0}.av2 .emp + .emp{border-top:1px solid var(--line2)}.av2 .emp .ava{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:10px;color:#fff;background:var(--accent);opacity:.9}.av2 .emp .nm{font-size:11.5px;font-weight:500}.av2 .emp .sm{font-size:9.5px;color:var(--muted)}.av2 .emp .val{text-align:right;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.av2 .emp .val span{display:block;font-size:9px;color:var(--muted);font-weight:400}.av2 .emp-bar{grid-column:2 / 4;height:3px;border-radius:2px;background:var(--line2);margin-top:-2px;overflow:hidden}.av2 .emp-bar i{display:block;height:100%;background:rgba(var(--accent-rgb),.55);border-radius:2px}.av2 
 .bars{display:flex;align-items:flex-end;gap:8px;height:186px;margin-top:4px}.av2 .bcol{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:5px;min-width:0}.av2 .bcol .bv{font-size:9.5px;color:var(--muted);font-variant-numeric:tabular-nums}.av2 .bcol i{display:block;width:100%;max-width:34px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,var(--accent),rgba(var(--accent-rgb),.4));opacity:.9}.av2 .bcol .bl{font-size:9px;color:var(--muted);white-space:nowrap}.av2 .bcol.peak i{background:linear-gradient(180deg,var(--accent),rgba(var(--accent-rgb),.85))}.av2 
 .tbl{width:100%;border-collapse:collapse;table-layout:fixed}.av2 .tbl th{text-align:left;font-weight:500;font-size:9.5px;color:var(--muted);padding:0 8px 8px;border-bottom:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.av2 .tbl td{padding:8px;font-size:11px;border-bottom:1px solid var(--line2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.av2 .tbl tr:last-child td{border-bottom:0}.av2 .tbl tbody tr:hover{background:var(--surface2)}.av2 .tbl .num{font-variant-numeric:tabular-nums}.av2 .tbl .strong{font-weight:600}.av2 .tbl .time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10.5px}.av2 .pill{display:inline-block;font-size:9.5px;padding:2px 6px;border-radius:4px;font-weight:500}.av2 .pill.done{background:rgba(60,122,92,.12);color:#3C7A5C}.av2 .pill.wait{background:rgba(var(--accent-rgb),.12);color:var(--accent)}.av2 
 .appt{display:flex;align-items:center;gap:8px;padding:8px 0}.av2 .appt + .appt{border-top:1px solid var(--line2)}.av2 .appt .tm{font-size:10.5px;font-weight:600;color:var(--accent);background:rgba(var(--accent-rgb),.10);padding:3px 6px;border-radius:5px;font-variant-numeric:tabular-nums;flex:none}.av2 .appt .inf{flex:1;min-width:0}.av2 .appt b{display:block;font-size:11.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.av2 .appt small{font-size:9.5px;color:var(--muted)}.av2 .todo-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}.av2 .todo-chips div{background:var(--surface2);border-radius:8px;padding:8px 9px}.av2 .todo-chips b{display:block;font-size:15px;line-height:1.2;font-variant-numeric:tabular-nums}.av2 .todo-chips span{font-size:9.5px;color:var(--muted)}.av2 .note{font-size:9.5px;color:var(--muted);margin-top:14px;line-height:1.7}.av2 .toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,12px);z-index:200;padding:8px 15px;border-radius:999px;background:#21261F;color:#F6F1E8;font-size:11.5px;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 10px 30px rgba(0,0,0,.3);}.av2 .toast.show{opacity:1;transform:translate(-50%,0)}@media (max-width:1280px){.av2 .kpis{grid-template-columns:repeat(3,1fr)}}@media (max-width:1100px){.av2 .g84,.av2 .g3,.av2 .g84-b{grid-template-columns:1fr}}@media (max-width:900px){.av2 .sidebar{width:62px;padding:12px 8px}.av2 .brand{justify-content:center;padding:4px 0 16px}.av2 .brand-txt,.av2 .nav-label,.av2 .nav .badge,.av2 .store-mini>div:last-child{display:none}.av2 .nav a{justify-content:center;padding:9px 0}.av2 .search{display:none}.av2 .kpis{grid-template-columns:repeat(2,1fr)}}.av2{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.6;color:var(--ink);-webkit-font-smoothing:antialiased;}html.force-m .av2 .kpis{grid-template-columns:repeat(2,1fr);}html.force-m .av2 .g84,html.force-m .av2 .g3,html.force-m .av2 .g84-b{grid-template-columns:1fr;}html.force-m .av2 .donut-wrap{justify-content:center;}html.force-m .av2 .donut{width:132px;height:132px;}html.force-m .av2 .donut::after{inset:19px;}html.force-m .av2 .donut-c b{font-size:15px;}.av2 .df-chip{background:var(--surface);border:1px solid var(--line);color:var(--ink2);}.av2 .df-chip.on{background:var(--accent);border-color:var(--accent);color:#fff;}.av2 .tbl tr.ch-card:hover{background:var(--surface2);}.av2 .appt-empty{padding:18px 0;font-size:11px;color:var(--muted);}.av2 .trend .chart-box,.av2 #ch-trend{display:block;width:100% !important;height:206px;min-width:0;}.av2 .trend canvas{max-width:100%;}.av2 .g84r{grid-template-columns:1fr 2fr;}html.force-m .av2 .g84r{grid-template-columns:1fr;}.av2 .donut.ec-ring{background:transparent !important;}.av2 .donut.ec-ring::after{display:none;}.av2 .donut.ec-ring .donut-c b{font-size:16px;}.av2 .donut.ec-ring .donut-c{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;}.av2 .donut.ec-ring .donut-c span{font-size:10.5px;color:var(--muted);display:block;}.av2 .donut.ec-ring .donut-c b{font-size:20px;}.av2 .donut.ec-ring .donut-c small{font-size:9.5px;color:var(--muted);}html.force-m .av2 .donut.ec-ring{width:200px !important;height:200px !important;}html.force-m .av2 .donut.ec-ring #pc-donut-chart{width:200px !important;height:200px !important;}html.force-m .av2 .donut.ec-ring .donut-c b{font-size:18px;}.av2 .donut-wrap{flex-direction:column;align-items:center;gap:14px;}.av2 .pay-legend{width:100%;min-width:0;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:7px 22px;}.av2 .pay-legend li{grid-template-columns:10px auto auto auto;flex:none;}.av2 .g84r{grid-template-columns:2fr 1fr;}.av2 .g84r>.card:first-child .donut-wrap{flex-direction:column;align-items:center;}.av2 .g84r>.card:first-child .pay-legend{justify-content:center;}.av2 .g84r>.card:nth-child(2) .trend .chart-box,.av2 .g84r>.card:nth-child(2) #ch-trend{height:190px;}.av2 .g84r>.card:nth-child(2) .trend-foot{font-size:9.5px;gap:8px;}.av2 .ch-card-row{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;min-height:0;box-shadow:0 1px 4px rgba(15,23,42,.14);}.av2 .ch-card-row::after{display:none;}.av2 .ch-card-row .ch-logo{width:26px;height:26px;border-radius:7px;flex:none;}.av2 .ch-card-row .ch-logo svg{width:16px;height:16px;}.av2 .ch-card-row .ch-info{display:flex;flex-direction:column;gap:1px;min-width:0;}.av2 .ch-card-row .ch-name{font-size:12px;margin:0;opacity:1;text-shadow:none;white-space:nowrap;}.av2 .ch-card-row .ch-x{font-size:10px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.av2 .ch-card-row .ch-right{margin-left:auto;text-align:right;display:flex;flex-direction:column;gap:1px;}.av2 .ch-card-row .ch-val{font-size:16px;font-weight:800;text-shadow:none;}.av2 .ch-card-row .ch-cn{font-size:10px;opacity:.85;}html.force-m .av2 .ch-detail-wrap{flex-direction:column;align-items:center;}html.force-m .av2 .ch-detail-list{width:100%;}.av2 .donut.ec-ring .donut-c b{font-size:22px;}.av2 .ch-detail-list{gap:5px;}.av2 .ch-card-row{padding:5px 9px;gap:8px;border-radius:8px;box-shadow:0 1px 3px rgba(15,23,42,.14);}.av2 .ch-card-row .ch-logo{width:22px;height:22px;border-radius:6px;}.av2 .ch-card-row .ch-logo svg{width:13px;height:13px;}.av2 .ch-card-row .ch-name{font-size:11px;}.av2 .ch-card-row .ch-x{font-size:9px;}.av2 .ch-card-row .ch-right{gap:0;}.av2 .ch-card-row .ch-val{font-size:13.5px;}.av2 .ch-card-row .ch-cn{font-size:9px;}.av2 .ch-card-row{display:flex;align-items:center;gap:7px;padding:4px 8px;border-radius:7px;min-height:0;}.av2 .ch-card-row .ch-logo{width:20px;height:20px;border-radius:5px;flex:none;}.av2 .ch-card-row .ch-logo svg{width:12px;height:12px;}.av2 .ch-card-row .ch-name{font-size:11px;margin:0;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.av2 .ch-card-row .ch-val{font-size:13px;font-weight:800;text-shadow:none;white-space:nowrap;}.av2 .ch-card-row .ch-cn{font-size:10px;opacity:.85;white-space:nowrap;}html.force-m .av2 .donut.ec-ring{width:210px !important;height:210px !important;}html.force-m .av2 .donut.ec-ring #pc-donut-chart{width:210px !important;height:210px !important;}html.force-m .av2 .donut.ec-ring .donut-c b{font-size:18px;}.av2 .donut.ec-ring .donut-c b{font-size:24px;}.av2 .donut.ec-ring .donut-c b{font-size:22px;}.av2 .ch-card-row{padding:6px 10px;gap:8px;border-radius:8px;}.av2 .ch-card-row .ch-logo{width:22px;height:22px;border-radius:6px;}.av2 .ch-card-row .ch-logo svg{width:14px;height:14px;}.av2 .ch-card-row .ch-name{font-size:11.5px;}.av2 .ch-card-row .ch-val{font-size:14px;}.av2 .ch-card-row .ch-cn{font-size:10px;}.av2 .ch-detail-list{gap:7px;}.av2 .ch-detail-wrap .donut.ec-ring{width:auto;height:auto;flex:2;aspect-ratio:1 / 1;}.av2 .ch-detail-wrap .donut.ec-ring #pc-donut-chart{width:100% !important;height:100% !important;}.av2 .ch-detail-wrap .donut.ec-ring .donut-c{inset:0;}html.force-m .av2 .ch-detail-wrap{flex-direction:column;align-items:center;}html.force-m .av2 .ch-detail-wrap .donut.ec-ring{width:210px !important;height:210px !important;flex:none;}html.force-m .av2 .ch-detail-wrap .donut.ec-ring #pc-donut-chart{width:210px !important;height:210px !important;}html.force-m .av2 .ch-detail-list{width:100%;}.av2 .donut-foot{font-size:12.5px;font-weight:600;color:#6B655C;white-space:nowrap;}.av2 .ch-card-row.ch-selected{outline:2px solid #AE5F68;transform:scale(1.03);box-shadow:0 4px 10px rgba(174,95,104,.35);z-index:2;}html.force-m .av2 .donut-col{flex:none;width:210px;}html.force-m .av2 .donut-col .donut.ec-ring{width:210px !important;height:210px !important;}.av2 .donut-c{pointer-events:none;}.av2 .ch-detail-wrap{align-items:flex-start;}.av2 .g3{grid-template-columns:repeat(2,1fr);}.av2 .ni-chips{margin-top:10px;gap:6px;flex-wrap:nowrap;}.av2 .ni-chips>div{padding:6px 10px;border-radius:8px;min-width:0;white-space:nowrap;}.av2 .ni-chips>div b{font-size:12px;}.av2 .ni-chips>div span{font-size:10px;}html.force-m .av2 .g3{grid-template-columns:1fr;}html.force-m .av2 .ni-chips{flex-wrap:wrap;}.av2 .g84r>.card:first-child{padding-top:12px;}.av2 .ch-detail-wrap{margin-top:-4px;}.av2 .ni-chips{margin-top:12px;gap:8px;}.av2 .ni-chips>div{padding:8px 12px;border-radius:9px;}.av2 .ni-chips>div b{font-size:13.5px;}.av2 .ni-chips>div span{font-size:11px;}html.force-m .av2 .donut-col{gap:4px;}.av2 .g84r>.card:first-child{padding-top:10px;}.av2 .g84r>.card:first-child .card-hd{margin-bottom:6px;}.av2 .ch-detail-wrap{margin-top:0;}.av2 .g84r>.card:first-child .donut-col{padding-top:2px;}.av2 .g84r>.card:first-child{position:relative;width:100%;height:460px;min-width:520px;}.av2 .g84r>.card:first-child .ch-detail-wrap{position:static;height:auto;margin-top:0;}.av2 .g84r>.card:first-child .donut-col{position:absolute;left:18.875%;top:77px;width:35.75%;max-width:380px;flex:none;padding-top:0;overflow:visible;}.av2 .g84r>.card:first-child .donut-col .donut.ec-ring{width:100% !important;height:auto !important;aspect-ratio:1 / 1;}.av2 .g84r>.card:first-child .donut-col #pc-donut-chart{width:100% !important;height:100% !important;}.av2 .g84r>.card:first-child .donut-col .donut-foot{position:absolute;left:20.28%;top:336px;margin:0;}.av2 .g84r>.card:first-child .ni-chips{display:grid !important;position:absolute;left:70.6%;top:355px;margin-top:0;width:28.1%;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;}.av2 .g84r>.card:first-child .ni-chips::before{content:'不计入实收';display:block;grid-column:1 / -1;width:100%;font-size:12px;font-weight:600;color:#8A8378;margin-bottom:2px;white-space:nowrap;}.av2 .g84r>.card:first-child .ch-detail-list{position:absolute;left:70.6%;top:42px;width:28.1%;}@media (max-width:1023px){html:not(.force-m) .av2 .g84r{grid-template-columns:1fr !important;}html:not(.force-m) .av2 .g84r>.card:first-child{width:100%;min-width:0;}html:not(.force-m) .av2 .g84r>.card:first-child .donut-col{width:30%;max-width:380px;}html:not(.force-m) .av2 .g84r>.card:first-child .ch-detail-list{width:26%;}html:not(.force-m) .av2 .g84r .card:nth-child(2){min-height:320px;}}html.force-m .av2 .g84r>.card:first-child{position:static;width:auto;min-width:0;max-width:100%;height:auto;}html.force-m .av2 .g84r>.card:first-child .ch-detail-wrap{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:10px;width:100%;}html.force-m .av2 .g84r>.card:first-child .donut-col{position:static;width:41%;max-width:165px;flex:none;}html.force-m .av2 .g84r>.card:first-child .donut-col .donut.ec-ring{width:100% !important;height:auto !important;aspect-ratio:1 / 1;}html.force-m .av2 .g84r>.card:first-child .donut-col #pc-donut-chart{width:100% !important;height:100% !important;}html.force-m .av2 .g84r>.card:first-child .donut-col .donut-foot{position:static;margin-top:6px;font-size:11px;line-height:1.3;text-align:center;}html.force-m .av2 .g84r>.card:first-child .ch-detail-list{position:static;flex:1;width:auto;min-width:0;gap:5px !important;}html.force-m .av2 .g84r>.card:first-child .ni-chips{position:static;margin-top:14px;width:100%;}html.force-m .av2 .g84r>.card:first-child .ch-card-row{padding:6px 8px;gap:6px;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-logo{width:18px;height:18px;border-radius:5px;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-logo svg{width:12px;height:12px;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-name{font-size:12px;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-val{font-size:13px;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-cn{font-size:10px;}html.force-m .av2 .g84r>.card:first-child .donut-c b{font-size:12px;}html.force-m .av2 .g84r>.card:first-child .donut-c span{font-size:9px;}html.force-m .av2 .g84r>.card:first-child .donut-c small{font-size:8.5px;}.av2 .g84r>.card:first-child .ni-chips>div{display:flex !important;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;padding:6px 7px;min-width:0;white-space:nowrap;}.av2 .g84r>.card:first-child .ni-chips>div b{order:0;margin:0;font-size:clamp(10.5px,0.86vw,13px);line-height:1.15;white-space:nowrap;}.av2 .g84r>.card:first-child .ni-chips>div span{order:0;font-size:clamp(9.5px,0.72vw,10.5px);line-height:1.15;color:#6B655C;white-space:nowrap;}html.force-m .av2 .g84r>.card:first-child .ni-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;width:100%;max-width:none;gap:6px;}html.force-m .av2 .g84r>.card:first-child .donut-c b{font-size:13px;}html.force-m .av2 .g84r>.card:first-child .donut-c span{font-size:9.5px;}html.force-m .av2 .g84r>.card:first-child .donut-c small{font-size:9px;}.page-sub{font-size:12.5px;}.av2 .kpi-label{font-size:13px;font-weight:500;}.av2 .kpi-foot{font-size:12px;}.av2 .delta{font-size:11.5px;}.av2 .ch-card-row .ch-name{font-size:13px;}.av2 .ch-card-row .ch-val{font-size:15px;}.av2 .ch-card-row .ch-cn{font-size:11.5px;}.av2 .donut.ec-ring .donut-c span{font-size:12px;}.av2 .donut.ec-ring .donut-c small{font-size:11px;}.av2 .note{font-size:11.5px;line-height:1.75;}.av2 .trend-foot{font-size:11.5px;}.av2 .trend-foot b{font-size:12px;}.pidx,.pmeta{font-size:11px;}.av2 .sub{font-size:11.5px;}.av2 .cmp,.av2 .seg-mini button{font-size:12px;}.av2 .btn{font-size:12.5px;}.av2 .card-hd .link,.av2 .card-hd button.link{font-size:12px;}.appt-empty{font-size:12px;}.av2 .g84r>.card:first-child .ni-chips::before{font-size:13px;}.av2 .g84r>.card:first-child .ni-chips>div b{font-size:clamp(12px,0.9vw,14px);}.av2 .g84r>.card:first-child .ni-chips>div span{font-size:clamp(10.5px,0.76vw,12px);}.av2 table.tbl tr.ch-trow{background:transparent;color:var(--ink,#1F211E);}.av2 table.tbl tr.ch-trow td{color:var(--ink,#1F211E);font-size:12.5px;padding:9px 8px;}.av2 table.tbl tr.ch-trow:hover{background:var(--surface2,#F7F3EA);}.av2 table.tbl tr.ch-trow td.num.strong{font-weight:700;color:var(--ink,#1F211E);}.av2 table.tbl tr.ch-trow .dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:7px;vertical-align:1px;}.av2 .tbl th{font-size:11.5px;}.av2 .pidx{font-size:11px;}.av2 .pmeta{font-size:11px;margin-top:5px;}.av2 .pname{font-size:13px;}.av2 .pamt{font-size:12.5px;}.av2 .emp .sm{font-size:11.5px;}.av2 .emp .val{font-size:14px;}.av2 .emp .val span{font-size:11px;}.av2 .card-hd .sub{font-size:12px;}.av2 .card-hd .link{font-size:12.5px;}.av2 .trend-foot span{font-size:11.5px;}.av2 .trend-foot b{font-size:12.5px;}.av2 .legend{font-size:11.5px;}.av2 .appt-empty{font-size:12px;}.av2 .todo-chips b{font-size:16px;}.av2 .todo-chips span{font-size:11.5px;}.av2 .tbl td.time{font-size:12.5px;}.page-sub span,.page-sub i{font-size:12px;}.av2 .pidx,.av2 .pmeta{font-size:11.5px;}html.force-m .av2 .g84r>.card:first-child .ch-detail-wrap{flex-direction:row !important;gap:10px !important;align-items:flex-start !important;}html.force-m .av2 .g84r>.card:first-child .donut-col{flex:none !important;width:42% !important;max-width:170px !important;}html.force-m .av2 .g84r>.card:first-child .ch-detail-list{flex:1 1 auto !important;width:auto !important;min-width:0 !important;}html.force-m .av2 .g84r>.card:first-child .donut-c{display:none !important;}html.force-m .av2 .g84r>.card:first-child .donut-col .donut-foot{font-size:12px !important;font-weight:600 !important;color:var(--ink,#1F211E) !important;}html.force-m .av2 .g84r>.card:first-child .donut-col{align-self:center !important;width:44% !important;max-width:175px !important;}html.force-m .av2 .g84r>.card:first-child .donut-col{width:42% !important;max-width:168px !important;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-val{font-size:12.5px !important;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-cn{font-size:9.5px !important;}html.force-m .av2 .g84r>.card:first-child .ch-card-row .ch-name{font-size:11.5px !important;}.av2 .grid.g3c{grid-template-columns:repeat(3,minmax(0,1fr));}.av2 .grid.g21{grid-template-columns:1.85fr 1fr;}html.force-m .av2 .grid.g3c,html.force-m .av2 .grid.g21{grid-template-columns:1fr;}.av2 .empty-line{padding:22px 0;font-size:12.5px;color:var(--muted);text-align:center;}.av2 .perf-row{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line2);}.av2 .perf-row:last-of-type{border-bottom:0;}.av2 .perf-ava{flex:none;width:32px;height:32px;border-radius:50%;overflow:hidden;background:#EFE6D8;color:#8A6A35;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;}.av2 .perf-ava img{width:100%;height:100%;object-fit:cover;display:block;}.av2 .perf-main{flex:1;min-width:0;}.av2 .perf-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;}.av2 .perf-top b{font-size:13.5px;color:var(--ink);font-weight:600;}.av2 .perf-amt{font-size:13.5px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;}.av2 .perf-sub{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px;font-size:11.5px;color:var(--muted);}.av2 .perf-pct{font-variant-numeric:tabular-nums;}.av2 .perf-bar{height:5px;border-radius:3px;background:var(--line2);margin-top:6px;overflow:hidden;}.av2 .perf-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,rgba(var(--accent-rgb),.55),var(--accent));}.av2 .perf-foot{display:flex;gap:18px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid var(--line2);font-size:12px;color:var(--muted);}.av2 .perf-foot b{color:var(--ink);font-size:13px;}.av2 .hour-bars{display:flex;align-items:flex-end;gap:6px;height:150px;margin-top:6px;}.av2 .hour-col{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;height:100%;}.av2 .hour-n{font-size:11.5px;color:var(--muted);height:16px;font-variant-numeric:tabular-nums;}.av2 .hour-bar{flex:1;width:100%;display:flex;align-items:flex-end;}.av2 .hour-bar i{display:block;width:100%;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,rgba(var(--accent-rgb),.85),rgba(var(--accent-rgb),.32));min-height:0;}.av2 .hour-lb{font-size:10.5px;color:var(--muted);margin-top:6px;white-space:nowrap;}.av2 .hour-foot{display:flex;gap:18px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line2);font-size:12px;color:var(--muted);}.av2 .hour-foot b{color:var(--ink);font-size:13px;}.av2 .rt-tbl{width:100%;}.av2 .rt-tbl th{padding:0 8px 8px;}.av2 .rt-row td{padding:9px 8px;font-size:12.5px;color:var(--ink);border-bottom:1px solid var(--line2);}.av2 .rt-row:last-child td{border-bottom:0;}.av2 .rt-time{color:var(--muted);font-variant-numeric:tabular-nums;}.av2 .rt-item{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.av2 .rt-amt{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;}.av2 .rt-pay,.av2 .rt-staff{color:var(--ink2,#4A4F49);white-space:nowrap;}.av2 .st{display:inline-block;padding:2px 7px;border-radius:5px;font-size:11px;white-space:nowrap;}.av2 .st-done{background:rgba(60,122,92,.12);color:#3C7A5C;}.av2 .st-credit{background:rgba(217,167,58,.16);color:#96702A;}.av2 .st-void{background:rgba(139,143,136,.16);color:#8B8F88;}html.force-m .av2 .rt-tbl th:nth-child(5),html.force-m .av2 .rt-tbl td:nth-child(5),html.force-m .av2 .rt-tbl th:nth-child(6),html.force-m .av2 .rt-tbl td:nth-child(6){display:none;}.av2 .card-hd h3{display:flex;align-items:center;gap:7px;}.av2 .hd-ico{display:inline-flex;flex:none;}.av2 .hd-ico svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.55;}.av2 .hour-bars{height:190px;}.av2 .ptrack{height:7px !important;border-radius:4px !important;background:var(--line2) !important;overflow:hidden;}.av2 .ptrack i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,rgba(var(--accent-rgb),.55),var(--accent)) !important;}html.force-m .av2 .rt-tbl{table-layout:fixed;}html.force-m .av2 .rt-tbl th:nth-child(2),html.force-m .av2 .rt-tbl td:nth-child(2),html.force-m .av2 .rt-tbl th:nth-child(5),html.force-m .av2 .rt-tbl td:nth-child(5),html.force-m .av2 .rt-tbl th:nth-child(6),html.force-m .av2 .rt-tbl td:nth-child(6){display:none !important;}html.force-m .av2 .rt-tbl th:nth-child(1),html.force-m .av2 .rt-tbl td:nth-child(1){width:48px !important;}html.force-m .av2 .rt-tbl th:nth-child(4),html.force-m .av2 .rt-tbl td:nth-child(4){width:78px !important;}html.force-m .av2 .rt-tbl th:nth-child(7),html.force-m .av2 .rt-tbl td:nth-child(7){width:62px !important;}html.force-m .av2 .rt-tbl th,html.force-m .av2 .rt-tbl td{padding:8px 4px !important;font-size:12px !important;}html.force-m .av2 .rt-tbl .st{padding:2px 5px;font-size:10.5px;}@media (max-width:1400px){.av2 .g84r>.card:first-child .ch-card-row .ch-val{font-size:13.5px;}.av2 .g84r>.card:first-child .ch-card-row .ch-name{font-size:12.5px;}}.av2 .donut-foot em{display:block;font-style:normal;font-size:11.5px;color:var(--muted);margin-top:3px;}html.force-m .av2 .donut-foot em{font-size:10.5px;}.av2 .assist-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-top:10px;padding-top:9px;border-top:1px dashed var(--line2);font-size:12px;color:var(--muted);}.av2 .assist-lb{flex:none;font-size:11px;padding:2px 6px;border-radius:5px;background:rgba(var(--accent-rgb),.10);color:var(--accent);}.av2 .assist-line em{font-style:normal;color:var(--ink2,#4A4F49);white-space:nowrap;}.av2 .assist-line + .perf-foot{border-top:0;padding-top:4px;}.av2 .perf-foot>span.unassigned{flex:0 0 100%;margin-top:5px;font-size:11.5px;color:var(--muted);}.av2 .perf-foot>span.unassigned b{font-size:12px;font-weight:600;}.av2 .grid.g3r{grid-template-columns:minmax(520px,2fr) minmax(230px,1fr) minmax(230px,1fr);}.av2 .grid.g3r>.card{display:flex;flex-direction:column;min-height:460px;}.av2 .grid.g3r .trend{flex:1 1 auto;display:flex;min-height:180px;}.av2 .grid.g3r .trend .chart-box{flex:1 1 auto;width:100%;height:100% !important;}.av2 .grid.g3r .hour-bars{flex:1 1 auto;height:auto;min-height:150px;}@media (max-width:1250px){html:not(.force-m) .av2 .grid.g3r{grid-template-columns:1fr 1fr;}html:not(.force-m) .av2 .grid.g3r>.card:first-child{grid-column:1 / -1;}}html.force-m .av2 .grid.g3r{grid-template-columns:1fr;}html.force-m .av2 .grid.g3r>.card{min-height:0;}.av2 .mem-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px;}.av2 .mem-cell{background:var(--surface2);border-radius:9px;padding:9px 11px;display:flex;flex-direction:column;gap:2px;min-width:0;}.av2 .mem-cell span{font-size:11.5px;color:var(--muted);}.av2 .mem-cell b{font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;}.av2 .mem-cell i{font-style:normal;font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.av2 .mem-cell.warn{background:rgba(var(--accent-rgb),.10);}.av2 .mem-cell.warn b{color:var(--accent);}.av2 .mem-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px dashed var(--line2);font-size:12px;color:var(--muted);}.av2 .mem-foot b{color:var(--ink);font-size:13px;}.av2 .g-stack{display:flex;flex-direction:column;gap:var(--gap);min-width:0;}.av2 .g-stack>.card{flex:1 1 0;display:flex;flex-direction:column;min-height:0;}.av2 .g-stack .trend{flex:1 1 auto;display:flex;min-height:90px;}.av2 .g-stack .trend .chart-box{flex:1 1 auto;width:100%;height:100% !important;}.av2 .g-stack .hour-bars{flex:1 1 auto;height:auto;min-height:90px;}.av2 .g-stack .trend-foot,.av2 .g-stack .hour-foot{margin-top:6px;padding-top:6px;font-size:11px;}.av2 .g-stack .hour-lb{font-size:9.5px;}html.force-m .av2 .g-stack>.card{flex:none;}html.force-m .av2 .g-stack .hour-bars{height:170px;}.av2 .g-stack,.av2 .g-stack>.card,.av2 .g-stack .trend,.av2 .g-stack .trend .chart-box{min-width:0;}.av2 .g-stack .trend{overflow:hidden;}@media (max-width:1400px){.av2 .g84r>.card:first-child .ch-card-row{padding:6px 8px;gap:6px;}.av2 .g84r>.card:first-child .ch-card-row .ch-logo{width:18px;height:18px;border-radius:5px;}.av2 .g84r>.card:first-child .ch-card-row .ch-logo svg{width:12px;height:12px;}.av2 .g84r>.card:first-child .ch-card-row .ch-val{font-size:12.5px;}.av2 .g84r>.card:first-child .ch-card-row .ch-cn{font-size:9.5px;}.av2 .g84r>.card:first-child .ch-card-row .ch-name{font-size:12px;}}.orders-sum{display:flex;flex-wrap:wrap;gap:8px 24px;padding:12px 16px;border-top:1px solid var(--line2);font-size:13px;color:var(--muted);}.orders-sum b{color:var(--ink);font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;}.table .ord-no{font-size:12.5px;letter-spacing:-.2px;white-space:nowrap;}.table .ord-time{font-size:13px;font-variant-numeric:tabular-nums;}.table .ord-cashier{font-size:11px;color:var(--muted);margin-top:1px;}.table .ord-items{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink2,#4A4F49);}.table td.num.strong{font-weight:700;}html.force-m .m-row-l2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.orders-sum:empty{display:none;}.orders-sum{border-top:0;border-bottom:1px solid var(--line2);background:var(--surface2);border-radius:10px 10px 0 0;}html.force-m .m-orders-sum{padding:10px 14px;margin-bottom:10px;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:12.5px;gap:6px 18px;}html.force-m .m-orders-sum b{font-size:13px;}.ord-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:12px;}.ord-stat{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px 13px;box-shadow:0 6px 18px rgba(120,96,60,.05);overflow:hidden;}.ord-stat::before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,rgba(var(--accent-rgb),.65),rgba(var(--accent-rgb),.18));}.ord-stat span{display:block;font-size:12px;color:var(--muted);letter-spacing:.2px;}.ord-stat b{display:block;margin-top:5px;font-size:21px;font-weight:700;color:var(--ink);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;}.ord-stat.detect.on::before{background:linear-gradient(180deg,#d97706,rgba(217,119,6,.25));}.ord-stat.detect.on b{color:#b45309;}.ord-filter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;margin-bottom:12px;}.ord-range{display:inline-flex;background:var(--surface2,#F7F3EA);border-radius:10px;padding:3px;gap:2px;}.ord-range button{border:0;background:transparent;padding:6px 13px;border-radius:8px;cursor:pointer;font-size:13px;color:var(--muted);transition:background .15s,color .15s;}.ord-range button:hover{color:var(--ink);}.ord-range button.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 5px rgba(90,70,40,.12);}.ord-dates{display:flex;align-items:center;gap:6px;}.ord-dates .input{width:142px;}.ord-tilde{color:var(--muted);font-size:12px;}.ord-filter .input,.ord-filter .select{height:34px;}.ord-filter #of-kw{width:150px;}.ord-filter #of-svc{width:110px;}.ord-table-card{overflow:hidden;}.ord-table thead th{background:#FAF6EF;color:var(--ink2,#4A4F49);font-weight:600;font-size:12.5px;padding:11px 8px;border-bottom:1px solid var(--line);white-space:nowrap;}.ord-table tbody td{padding:11px 8px;}.ord-table tbody tr{transition:background .12s;}.ord-table tbody tr:hover{background:#FDF9F3;}.ord-table .ord-no{font-variant-numeric:tabular-nums;letter-spacing:-.3px;}.ord-acts{display:flex;align-items:center;gap:6px;}.ord-acts .btn{padding:4px 9px;font-size:12px;border-radius:7px;}@media (max-width:1280px){.ord-stats{grid-template-columns:repeat(3,minmax(0,1fr));}}html.force-m .ord-stats{display:none;}html.force-m .ord-filter{display:none;}.ord-filter .input,.ord-filter .select{width:auto;flex:0 0 auto;min-width:0;}.ord-filter #of-status{width:118px;}.ord-filter #of-staff{width:132px;}.ord-filter #of-search{margin-left:auto;padding:8px 20px;}.svc-section + .svc-section{margin-top:18px;}.svc-section-hd{display:flex;align-items:baseline;gap:8px;margin:2px 0 9px;}.svc-section-hd b{position:relative;padding-left:10px;font-size:14px;font-weight:700;color:var(--ink);letter-spacing:.2px;}.svc-section-hd b::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:13px;border-radius:2px;background:linear-gradient(180deg,var(--accent),rgba(var(--accent-rgb),.45));}.svc-section-hd span{font-size:11.5px;color:var(--muted);}.svc-section:last-child .svc-section-hd b::before{background:linear-gradient(180deg,#0f766e,rgba(15,118,110,.4));}html.force-m .svc-section + .svc-section{margin-top:14px;}html.force-m .svc-section-hd{margin:0 0 8px;}html.force-m .svc-section-hd b{font-size:13.5px;}html.force-m .svc-section-hd span{font-size:11px;}#pos-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start;}.svc-section{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px 14px;box-shadow:0 4px 14px rgba(120,96,60,.04);min-width:0;}.svc-section + .svc-section{margin-top:0;}.svc-section .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:9px;}.svc-section .svc-item{padding:8px;}.svc-section .svc-img{height:92px;}.svc-section-hd{margin:0 0 10px;}html.force-m #pos-services{display:block;}html.force-m .svc-section{background:transparent;border:0;box-shadow:none;padding:0;}html.force-m .svc-section + .svc-section{margin-top:14px;}html.force-m .svc-section .svc-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}#pos-services{align-items:start;}.svc-section--takeout{grid-column:1 / -1;}.svc-section--takeout .svc-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr)) !important;}.svc-section--takeout .svc-section-hd b::before{background:linear-gradient(180deg,#0f766e,rgba(15,118,110,.4));}html.force-m .svc-section--takeout{grid-column:auto;}html.force-m .svc-section--takeout .svc-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}#pos-services{display:block;}.svc-section{background:transparent;border:0;box-shadow:none;padding:0;}.svc-section + .svc-section{margin-top:16px;}.svc-section .svc-grid,.svc-section--takeout .svc-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr)) !important;gap:9px;}.svc-section .svc-item{padding:6px;border-radius:10px;}.svc-section .svc-img{height:78px;}.svc-section .svc-meta{padding-top:5px;}.svc-section .svc-name{font-size:12.5px;}.svc-section .svc-price{font-size:13.5px;}.svc-section-hd{display:flex;align-items:center;gap:8px;margin:0 0 9px;}.svc-section-hd b{position:relative;padding-left:10px;font-size:15px;font-weight:700;color:var(--ink);letter-spacing:.2px;}.svc-section-hd b::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:15px;border-radius:2px;background:linear-gradient(180deg,var(--accent),rgba(var(--accent-rgb),.4));}.svc-section-hd .cnt{font-size:11px;color:var(--muted);background:var(--surface2,#F7F3EA);padding:2px 8px;border-radius:20px;}.svc-section-hd .dept{font-size:11px;color:var(--muted);}.svc-section-hd .tag{font-size:11px;color:#0f766e;background:rgba(15,118,110,.09);padding:2px 8px;border-radius:20px;}.svc-section-hd::after{content:'';flex:1 1 auto;height:1px;margin-left:4px;background:linear-gradient(90deg,var(--line),rgba(0,0,0,0));}.svc-section--takeout .svc-section-hd b::before{background:linear-gradient(180deg,#0f766e,rgba(15,118,110,.35));}.svc-section--takeout{margin-top:20px;padding-top:14px;border-top:1px dashed var(--line);}html.force-m #pos-services{display:block;}html.force-m .svc-section,html.force-m .svc-section--takeout{background:transparent;border:0;box-shadow:none;padding:0;margin-top:14px;border-top:0;}html.force-m .svc-section:first-child{margin-top:0;}html.force-m .svc-section .svc-grid,html.force-m .svc-section--takeout .svc-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px;}html.force-m .svc-section-hd b{font-size:14px;}.svc-section .svc-grid,.svc-section--takeout .svc-grid{grid-template-columns:repeat(auto-fill,minmax(116px,1fr)) !important;gap:8px;}.svc-section .svc-item{padding:5px;border-radius:9px;}.svc-section .svc-img{height:62px;border-radius:6px;}.svc-section .svc-meta{padding-top:4px;}.svc-section .svc-name{font-size:12px;}.svc-section .svc-price{font-size:12.5px;}.svc-section + .svc-section{margin-top:12px;}.svc-section-hd{margin-bottom:7px;}.svc-section-hd b{font-size:14.5px;}.hm-cell{position:relative;}.hm-badge{position:absolute;top:5px;right:7px;min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:#d14343;color:#fff;font-size:11px;line-height:17px;text-align:center;font-weight:700;box-shadow:0 1px 3px rgba(209,67,67,.35);}.hm-badge.hide{display:none;}.credit-sum{padding:2px 2px 10px;font-size:13px;color:var(--muted);}.credit-sum b{color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums;}.credit-tbl td{font-size:12.5px;padding:9px 8px;}.credit-tbl tbody tr:hover{background:#FDF9F3;}.hm-badge{position:static;display:inline-block;vertical-align:2px;margin-left:5px;min-width:18px;height:18px;padding:0 6px;border-radius:9px;background:#d14343;color:#fff;font-size:11px;line-height:18px;text-align:center;font-weight:700;box-shadow:0 1px 3px rgba(209,67,67,.35);}.hm-badge.hide{display:none;}html:not(.force-m) #pos-services .svc-item::before{content:'+';position:absolute;top:6px;right:6px;width:21px;height:21px;border-radius:7px;background:#e5e9f0;color:#8a94a6;font-size:15px;font-weight:700;line-height:21px;text-align:center;transition:background .15s,color .15s,box-shadow .15s;pointer-events:none;z-index:2;}html:not(.force-m) #pos-services .svc-item:hover::before{background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;box-shadow:0 2px 6px rgba(214,0,110,.4);}.hm-cell .tx{display:inline-flex;align-items:center;justify-content:center;gap:4px;}.hm-badge{margin-left:0;}.nav .nav-item{position:relative;}.nav-badge{margin-left:auto;min-width:18px;height:18px;padding:0 6px;border-radius:9px;background:#d14343;color:#fff;font-size:11px;line-height:18px;text-align:center;font-weight:700;box-shadow:0 1px 3px rgba(209,67,67,.35);}.nav-badge.hide{display:none;}.btn-credit{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(209,67,67,.25);background:#fff;color:#B03A3A;font-weight:600;}.btn-credit:hover{background:#FFF5F5;border-color:rgba(209,67,67,.45);}.btn-credit.has-credit{background:linear-gradient(180deg,#FFF7F7,#FFEDED);}.btn-credit .js-credit-badge{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#d14343;color:#fff;font-size:11.5px;line-height:20px;text-align:center;font-weight:700;}.btn-credit .js-credit-badge.hide{display:none;}.cpm-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:2px 4px;}.cpm-btn{padding:13px 10px;border:1px solid var(--line);background:#fff;border-radius:11px;font-size:15px;color:var(--ink2,#4A4F49);cursor:pointer;transition:all .15s;font-weight:500;}.cpm-btn:hover{border-color:rgba(15,118,110,.45);}.cpm-btn.on{border-color:#0f766e;background:#ECFDF5;color:#0f766e;font-weight:700;box-shadow:0 0 0 2px rgba(15,118,110,.12);}.cpm-tip{margin-top:12px;font-size:12.5px;color:var(--muted);line-height:1.6;}.cpm-foot{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;}.cpm-ok{min-width:140px;padding:10px 22px;font-size:15px;font-weight:700;box-shadow:0 6px 16px rgba(179,0,92,.25);}.ap-range{display:inline-flex;background:var(--surface2,#F7F3EA);border-radius:10px;padding:3px;gap:2px;}.ap-range button{border:0;background:transparent;padding:6px 13px;border-radius:8px;font-size:13px;color:var(--muted);cursor:pointer;transition:all .15s;}.ap-range button.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 5px rgba(90,70,40,.12);}.ap-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;margin-bottom:12px;}.ap-toolbar .input,.ap-toolbar .select{height:34px;width:auto;flex:0 0 auto;}.ap-toolbar #af-date{width:150px;}.ap-toolbar #af-dept{width:118px;}.ap-toolbar #af-status{width:118px;}.ap-summary{margin-left:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap;}.ap-sum{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);white-space:nowrap;}.ap-sum b{color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums;}.ap-sum .dot{width:7px;height:7px;border-radius:50%;display:inline-block;}.ap-sum .dot.all{background:var(--accent);}.ap-sum .dot.wait{background:#f59e0b;}.ap-sum .dot.ok{background:#10b981;}.ap-sum .dot.gray{background:#94a3b8;}.ap-body{display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:14px;align-items:start;}.ap-main{min-width:0;}.ap-side{display:flex;flex-direction:column;gap:12px;}.ap-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:0 4px 14px rgba(120,96,60,.04);}.ap-panel-title{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--ink);margin-bottom:10px;}.ap-panel-n{font-size:11.5px;font-weight:600;color:#b45309;background:#FEF3C7;padding:1px 7px;border-radius:20px;}.ap-panel-more{margin-left:auto;font-size:12px;color:var(--accent);font-weight:500;text-decoration:none;}.ap-staff-bar{display:flex;gap:10px;overflow-x:auto;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:12px;box-shadow:0 4px 14px rgba(120,96,60,.04);}.ap-staff{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 10px;border-radius:12px;cursor:pointer;min-width:68px;transition:background .15s;flex:0 0 auto;}.ap-staff:hover{background:#FAF6EF;}.ap-staff.active{background:#FFF0F6;box-shadow:inset 0 0 0 1.5px rgba(var(--accent-rgb),.45);}.ap-staff em{font-style:normal;font-size:12px;color:var(--ink2);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ap-staff-pos{font-size:10.5px;color:var(--muted);}.ap-staff-all{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#FF2D8A,#B3005C);color:#fff;font-size:16px;font-weight:700;}.ap-staff-n{position:absolute;top:2px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#d14343;color:#fff;font-size:11px;line-height:18px;text-align:center;font-style:normal;font-weight:700;}.ap-staff-n.hide{display:none;}.ap-day-head{display:flex;align-items:baseline;gap:10px;padding:0 4px 10px;}.ap-day-head b{font-size:15px;font-weight:700;color:var(--ink);}.ap-day-head span{font-size:12.5px;color:var(--muted);}.ap-rail{background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px 16px 10px;box-shadow:0 4px 14px rgba(120,96,60,.04);}.ap-hour{display:grid;grid-template-columns:58px 14px minmax(0,1fr);gap:10px;padding:10px 0;position:relative;}.ap-hour + .ap-hour{border-top:1px dashed rgba(0,0,0,.06);}.ap-hour-lb{text-align:right;padding-top:8px;}.ap-hour-lb b{display:block;font-size:13px;color:var(--ink);font-variant-numeric:tabular-nums;}.ap-hour-lb i{font-style:normal;font-size:11px;color:var(--muted);}.ap-hour-line{position:relative;}.ap-hour-line::before{content:'';position:absolute;left:50%;top:0;bottom:-10px;width:2px;transform:translateX(-50%);background:linear-gradient(180deg,rgba(var(--accent-rgb),.25),rgba(var(--accent-rgb),.08));}.ap-hour-line::after{content:'';position:absolute;left:50%;top:14px;width:8px;height:8px;border-radius:50%;transform:translateX(-50%);background:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.14);}.ap-hour-items{display:flex;flex-direction:column;gap:8px;min-width:0;}.ap-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:11px;padding:10px 12px;transition:box-shadow .15s,transform .15s;}.ap-item:hover{box-shadow:0 6px 16px rgba(120,96,60,.1);}.ap-item.st-pending{border-left-color:#f59e0b;}.ap-item.st-arrived{border-left-color:#0ea5e9;}.ap-item.st-done{border-left-color:#10b981;}.ap-item.st-cancel{border-left-color:#cbd5e1;opacity:.72;}.ap-item.st-noshow{border-left-color:#FF2D8A;opacity:.8;}.ap-item-time{font-size:14px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;}.ap-item-main{min-width:0;}.ap-item-l1{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13.5px;}.ap-item-l1 b{color:var(--ink);}.ap-item-svc{color:var(--ink2);font-size:12.5px;}.ap-item-l2{display:flex;align-items:center;gap:12px;margin-top:3px;font-size:12px;color:var(--muted);flex-wrap:wrap;}.ap-tel{color:#2563eb;text-decoration:none;font-size:12px;}.ap-tel:hover{text-decoration:underline;}.ap-item-note{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ap-item-ops{display:flex;gap:6px;}.ap-item-ops .btn{padding:4px 9px;font-size:12px;}.ap-item-status{white-space:nowrap;}.ap-empty{background:#fff;border:1px dashed var(--line);border-radius:16px;padding:42px 20px;text-align:center;}.ap-empty-ico{font-size:34px;line-height:1;margin-bottom:10px;opacity:.85;}.ap-empty b{display:block;font-size:15px;color:var(--ink);margin-bottom:6px;}.ap-empty span{display:block;font-size:12.5px;color:var(--muted);margin-bottom:16px;}.ap-pend{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px dashed rgba(0,0,0,.06);}.ap-pend:last-child{border-bottom:0;}.ap-pend-time{font-size:12.5px;font-weight:700;color:var(--ink);min-width:42px;font-variant-numeric:tabular-nums;}.ap-pend-main{flex:1;min-width:0;display:flex;flex-direction:column;}.ap-pend-main b{font-size:13px;color:var(--ink);}.ap-pend-main span{font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ap-none{font-size:12.5px;color:var(--muted);padding:6px 0;}@media (max-width:1280px){.ap-body{grid-template-columns:minmax(0,1fr) 280px;}}html.force-m .ap-body{display:block;}.ap-body>.ap-main{display:block;min-width:0;}.ap-panel-n:empty{display:none;}.ca-head-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}.ca-nav{display:inline-flex;align-items:center;background:var(--surface2,#F7F3EA);border-radius:10px;padding:3px;gap:2px;}.ca-nav button{border:0;background:transparent;width:30px;height:28px;border-radius:8px;cursor:pointer;font-size:16px;color:var(--ink2);line-height:1;}.ca-nav .ca-today{width:auto;padding:0 10px;font-size:13px;}.ca-nav button:hover{background:#fff;box-shadow:0 1px 4px rgba(90,70,40,.12);}.ca-view{display:inline-flex;background:var(--surface2,#F7F3EA);border-radius:10px;padding:3px;gap:2px;}.ca-view button{border:0;background:transparent;padding:5px 12px;border-radius:8px;font-size:13px;color:var(--muted);cursor:pointer;}.ca-view button.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 4px rgba(90,70,40,.12);}.ca-body{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:14px;align-items:start;}.ca-main{min-width:0;}.ca-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;}.ca-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:20px;padding:5px 12px;font-size:12.5px;color:var(--ink2);cursor:pointer;}.ca-chip b{color:var(--ink);font-size:13.5px;}.ca-chip.static{cursor:default;}.ca-chip.on{border-color:rgba(var(--accent-rgb),.5);background:#FFF6F6;}.ca-chip .dot{width:7px;height:7px;border-radius:50%;display:inline-block;}.ca-chip .dot.all{background:var(--accent);}.ca-chip .dot.wait{background:#f59e0b;}.ca-chip .dot.arrived{background:#0ea5e9;}.ca-chip .dot.done{background:#10b981;}.ca-grid{display:grid;grid-template-columns:62px repeat(var(--n),minmax(150px,1fr));background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 6px 18px rgba(120,96,60,.05);}.ca-corner{background:#FBF7F0;border-bottom:1px solid var(--line);}.ca-colhead{display:flex;align-items:center;gap:8px;padding:9px 10px;background:#FBF7F0;border-bottom:1px solid var(--line);border-left:1px solid var(--line);cursor:pointer;min-width:0;}.ca-colhead.on{background:#FFF0F6;}.ca-colhead-tx{min-width:0;display:flex;flex-direction:column;}.ca-colhead-tx b{font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.ca-colhead-tx span{font-size:11px;color:var(--muted);white-space:nowrap;}.ca-times{position:relative;border-right:1px solid var(--line);}.ca-tick{position:absolute;right:7px;transform:translateY(-50%);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;}.ca-tick.hour{color:var(--ink2);font-weight:600;font-size:11.5px;}.ca-col{position:relative;border-left:1px solid var(--line);background-image:repeating-linear-gradient(180deg,transparent 0 29px,rgba(0,0,0,.045) 29px 30px);background-position:0 0;cursor:pointer;}.ca-col:hover{background-color:#FEFCF9;}.ca-block{position:absolute;left:4px;right:4px;border-radius:8px;padding:3px 7px;overflow:hidden;cursor:pointer;border-left:3px solid var(--line);background:#F8FAFC;transition:box-shadow .12s,transform .12s;font-size:11.5px;line-height:1.35;}.ca-block:hover{box-shadow:0 6px 16px rgba(0,0,0,.12);z-index:3;}.ca-block.sel{box-shadow:0 0 0 2px rgba(var(--accent-rgb),.55);z-index:4;}.ca-block-t{font-weight:700;font-size:11px;font-variant-numeric:tabular-nums;opacity:.85;}.ca-block-n{font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.ca-block-s{color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.ca-block.pending{background:#FFF8E8;border-left-color:#f59e0b;}.ca-block.arrived{background:#E8F7FE;border-left-color:#0ea5e9;}.ca-block.done{background:#E9FBF2;border-left-color:#10b981;}.ca-block.noshow{background:#FEECEC;border-left-color:#FF2D8A;}.ca-block.cancel{background:#F1F5F9;border-left-color:#cbd5e1;opacity:.6;}.ca-now{position:absolute;left:0;right:0;height:2px;background:#FF2D8A;z-index:5;}.ca-now::before{content:'';position:absolute;left:-3px;top:-3px;width:8px;height:8px;border-radius:50%;background:#FF2D8A;}.ca-empty{background:#fff;border:1px dashed var(--line);border-radius:16px;padding:42px 20px;text-align:center;}.ca-empty-ico{font-size:32px;margin-bottom:8px;}.ca-empty b{display:block;font-size:15px;color:var(--ink);margin-bottom:6px;}.ca-empty span{font-size:12.5px;color:var(--muted);}.ca-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;}.ca-wday{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;cursor:pointer;min-height:220px;transition:box-shadow .15s;}.ca-wday:hover{box-shadow:0 8px 20px rgba(120,96,60,.1);}.ca-wday.on{border-color:rgba(var(--accent-rgb),.5);background:#FFFAFA;}.ca-wday-h{display:flex;align-items:baseline;gap:6px;margin-bottom:4px;}.ca-wday-h b{font-size:13px;color:var(--ink);}.ca-wday-h span{font-size:11.5px;color:var(--muted);}.ca-wday-n{font-size:12px;color:var(--muted);margin-bottom:8px;}.ca-wday-n i{font-style:normal;color:#b45309;}.ca-wday-l{display:flex;flex-direction:column;gap:4px;}.ca-wrow{display:grid;grid-template-columns:38px 1fr;gap:2px 6px;font-size:11.5px;padding:4px 5px;border-radius:6px;background:#F8FAFC;border-left:2px solid var(--line);}.ca-wrow b{color:var(--ink);font-size:12px;grid-column:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.ca-wrow em{font-style:normal;color:var(--muted);grid-column:2;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.ca-wrow span{color:var(--ink2);font-variant-numeric:tabular-nums;}.ca-wrow.pending{border-left-color:#f59e0b;background:#FFF8E8;}.ca-wrow.arrived{border-left-color:#0ea5e9;background:#E8F7FE;}.ca-wrow.done{border-left-color:#10b981;background:#E9FBF2;}.ca-wrow.cancel,.ca-wrow.noshow{opacity:.55;}.ca-wempty{font-size:11.5px;color:var(--muted);padding:6px 2px;}.ca-side{display:flex;flex-direction:column;gap:12px;}.ca-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 15px;box-shadow:0 4px 14px rgba(120,96,60,.04);}.ca-panel-h{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--ink);margin-bottom:10px;}.ca-n{font-style:normal;font-size:11.5px;font-weight:600;color:#b45309;background:#FEF3C7;padding:1px 7px;border-radius:20px;}.ca-kpi{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.ca-kpi>div{background:#FBF7F0;border-radius:10px;padding:9px 10px;display:flex;flex-direction:column;gap:2px;}.ca-kpi span{font-size:11.5px;color:var(--muted);}.ca-kpi b{font-size:17px;color:var(--ink);font-variant-numeric:tabular-nums;}.ca-kpi b.warn{color:#b45309;}.ca-pend{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px dashed rgba(0,0,0,.06);}.ca-pend:last-child{border-bottom:0;}.ca-pend-t{font-size:12.5px;font-weight:700;color:var(--ink);min-width:40px;font-variant-numeric:tabular-nums;}.ca-pend-m{flex:1;min-width:0;display:flex;flex-direction:column;}.ca-pend-m b{font-size:12.5px;color:var(--ink);}.ca-pend-m span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ca-none{font-size:12.5px;color:var(--muted);padding:6px 0;}.ca-free{display:flex;justify-content:space-between;font-size:12.5px;padding:5px 0;border-bottom:1px dashed rgba(0,0,0,.05);}.ca-free:last-child{border-bottom:0;}.ca-free-n{color:var(--ink2);}.ca-free-v{color:#0f766e;font-weight:600;}.ca-free-v.full{color:#8A0047;}.ca-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;}.ca-qbtn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 6px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;transition:all .15s;}.ca-qbtn:hover{border-color:rgba(var(--accent-rgb),.4);background:#FFF9F9;}.ca-qbtn span{font-size:17px;}.ca-qbtn em{font-style:normal;font-size:11.5px;color:var(--ink2);}.ca-detail-h{display:flex;align-items:center;gap:8px;margin-bottom:8px;}.ca-detail-h b{font-size:15px;color:var(--ink);}.ca-back{border:0;background:#F1F5F9;width:24px;height:24px;border-radius:7px;cursor:pointer;font-size:16px;line-height:1;color:var(--ink2);}.ca-detail-time{font-size:12.5px;color:var(--ink2);margin-bottom:10px;font-variant-numeric:tabular-nums;}.ca-detail-time i{font-style:normal;color:var(--muted);margin-left:6px;}.ca-rows{display:flex;flex-direction:column;gap:7px;margin-bottom:12px;}.ca-rows>div{display:flex;gap:8px;font-size:12.5px;}.ca-rows span{color:var(--muted);min-width:42px;}.ca-rows b{color:var(--ink);font-weight:600;}.ca-rows b a{color:#2563eb;text-decoration:none;}.ca-acts{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;}.ca-detail-more{border-top:1px dashed var(--line);padding-top:10px;}.ca-detail-btns{display:flex;gap:6px;margin-top:8px;}.ca-badge{font-size:11px;padding:2px 8px;border-radius:20px;font-style:normal;}.ca-badge.pending{background:#FFE4EF;color:#B0136B;font-weight:700;}.ca-badge.ok{background:#D7F5E6;color:#047857;font-weight:700;}.ca-badge.arrived{background:#E0F2FE;color:#0369a1;}.ca-badge.done{background:#E9EEF3;color:#64748B;font-weight:700;}.ca-badge.noshow{background:#FEE2E2;color:#8A0047;}.ca-badge.cancel{background:#F1F5F9;color:#64748b;}.ca-warn{background:#FEF3C7;color:#92400e;border-radius:8px;padding:8px 10px;font-size:12.5px;margin-bottom:8px;}.ap-mcard{padding:12px 14px;margin-bottom:10px;}.ap-mcard-h{display:flex;align-items:center;gap:8px;}.ap-mcard-h b{font-size:15px;color:var(--ink);font-variant-numeric:tabular-nums;}.ap-mcard-h span{font-size:13.5px;color:var(--ink2);}.ap-mcard-h .ca-badge{margin-left:auto;}.ap-mcard-b{font-size:12.5px;color:var(--muted);margin:6px 0 8px;}.ap-mcard-f{display:flex;gap:8px;}.pos-prefill{display:flex;align-items:center;gap:10px;background:#FFF7ED;border:1px solid #FED7AA;border-radius:12px;padding:10px 14px;margin-bottom:10px;font-size:13px;color:#92400e;}.pos-prefill b{color:#7c2d12;}.pos-prefill .btn{margin-left:auto;}.pos-prefill .btn + .btn{margin-left:6px;}@media (max-width:1280px){.ca-body{grid-template-columns:minmax(0,1fr) 270px;}}.ca-head-tools .input,.ca-head-tools .select{width:auto;height:34px;flex:0 0 auto;}.ca-head-tools #ca-date{width:148px;}.ca-head-tools #ca-dept{width:116px;}.page-head{flex-wrap:wrap;gap:10px;}.ca-block{left:auto;right:auto;}.ca-hint{background:#FBF7F0;border:1px dashed var(--line);border-radius:12px;padding:10px 14px;font-size:12.5px;color:var(--ink2);margin-bottom:10px;}.ca-scroll{overflow-x:auto;overflow-y:hidden;border-radius:14px;border:1px solid var(--line);background:#fff;box-shadow:0 6px 18px rgba(120,96,60,.05);}.ca-scroll::-webkit-scrollbar{height:8px;}.ca-scroll::-webkit-scrollbar-thumb{background:#d8cfc0;border-radius:4px;}.ca-grid{border:0;border-radius:0;box-shadow:none;overflow:visible;grid-template-columns:62px repeat(var(--n),172px);}.ca-corner{position:sticky;left:0;top:0;z-index:9;}.ca-colhead{position:sticky;top:0;z-index:6;width:172px;padding:7px 9px;gap:7px;}.ca-colhead .avatar,.ca-colhead img{width:30px;height:30px;}.ca-times{position:sticky;left:0;z-index:7;background:#fff;width:62px;}.ca-col{width:172px;}.ca-tick{transform:none;margin-top:1px;line-height:1;}.ca-tick.hour{margin-top:0;}.ca-scrollnav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px;}.ca-scrollnav span{font-size:12px;color:var(--muted);}.ca-scrollnav button{width:30px;height:26px;border-radius:8px;border:1px solid var(--line);background:#fff;cursor:pointer;color:var(--ink2);font-size:15px;line-height:1;}.ca-scrollnav button:hover{background:#FBF7F0;}.ca-orphan-ico{width:30px;height:30px;border-radius:50%;background:#F1F5F9;color:#94a3b8;display:flex;align-items:center;justify-content:center;font-weight:700;}.ca-colhead.orphan{background:#F8FAFC;}.ca-freegrid{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;}.ca-freegrid .ca-free{border-bottom:0;padding:3px 0;font-size:12px;}.ca-freegrid .ca-free-n{color:var(--ink2);}.ca-freegrid .ca-free-v{font-size:12px;}.ca-corner{box-shadow:1px 0 0 var(--line),0 0 12px rgba(120,96,60,.06);}.ca-times{box-shadow:1px 0 0 var(--line),4px 0 12px rgba(120,96,60,.05);}.ca-strip{display:flex;flex-direction:column;gap:8px;}.ca-strip-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}.ca-staff-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}.ca-schip{border:1px solid var(--line);background:#fff;border-radius:8px;padding:4px 10px;font-size:12.5px;color:var(--ink2);cursor:pointer;display:inline-flex;align-items:center;gap:5px;}.ca-schip:hover{border-color:rgba(var(--accent-rgb),.4);}.ca-schip.on{background:#FFF0F6;border-color:rgba(var(--accent-rgb),.55);color:var(--accent);font-weight:600;}.ca-schip.idle{color:var(--muted);}.ca-schip b{font-size:11.5px;color:#fff;background:var(--accent);border-radius:20px;padding:0 6px;line-height:16px;}.ca-schip.idle b{background:#cbd5e1;}.ag-list{background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px 0 10px;box-shadow:0 6px 18px rgba(120,96,60,.05);}.ag-hour{display:flex;align-items:center;gap:10px;padding:8px 16px 6px;}.ag-hour span{font-size:12px;font-weight:700;color:var(--ink2);font-variant-numeric:tabular-nums;letter-spacing:.3px;}.ag-hour i{flex:1;height:1px;background:linear-gradient(90deg,var(--line),rgba(0,0,0,0));}.ag-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto auto;gap:12px;align-items:center;margin:0 12px 6px;padding:10px 12px;border:1px solid var(--line);border-left:3px solid var(--line);border-radius:11px;background:#fff;cursor:pointer;transition:box-shadow .14s,border-color .14s;}.ag-item:hover{box-shadow:0 6px 16px rgba(120,96,60,.1);}.ag-item.sel{border-color:rgba(var(--accent-rgb),.55);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.16);}.ag-item.pending{border-left-color:#f59e0b;}.ag-item.arrived{border-left-color:#0ea5e9;}.ag-item.done{border-left-color:#10b981;}.ag-item.noshow{border-left-color:#FF2D8A;opacity:.82;}.ag-item.cancel{border-left-color:#cbd5e1;opacity:.6;}.ag-time{font-size:15px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.1;}.ag-time em{display:block;font-style:normal;font-size:11px;font-weight:500;color:var(--muted);margin-top:2px;}.ag-main{min-width:0;}.ag-l1{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}.ag-l1 b{font-size:14px;color:var(--ink);}.ag-svc{font-size:13px;color:var(--ink2);}.ag-l2{display:flex;align-items:center;gap:12px;margin-top:3px;font-size:12px;color:var(--muted);flex-wrap:wrap;}.ag-staff{color:var(--ink2);font-weight:500;}.ag-tel{color:#2563eb;text-decoration:none;}.ag-note{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ag-ops{display:flex;gap:6px;}.ag-ops .btn{padding:4px 9px;font-size:12px;}.ag-empty{background:#fff;border:1px dashed var(--line);border-radius:16px;padding:46px 20px;text-align:center;}.ag-empty-ico{font-size:34px;margin-bottom:8px;}.ag-empty b{display:block;font-size:15px;color:var(--ink);margin-bottom:6px;}.ag-empty span{display:block;font-size:12.5px;color:var(--muted);margin-bottom:16px;}.ca-schip .n{font-style:normal;font-size:11.5px;color:var(--muted);margin-left:5px;}.ca-schip.on .n{color:var(--accent);font-weight:700;}.ca-schip.idle{opacity:.72;}.ap-sb{display:flex;align-items:flex-start;gap:6px;overflow-x:auto;padding:2px 2px 6px;}.ap-sb::-webkit-scrollbar{height:6px;}.ap-sb::-webkit-scrollbar-thumb{background:#ddd3c4;border-radius:3px;}.ap-sb-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:72px;padding:8px 6px 6px;border-radius:12px;cursor:pointer;border:1px solid transparent;transition:background .15s,border-color .15s;flex:0 0 auto;}.ap-sb-item:hover{background:#FBF7F0;}.ap-sb-item.on{background:#FFF0F6;border-color:rgba(var(--accent-rgb),.45);}.ap-sb-item em{font-style:normal;font-size:12px;color:var(--ink);max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ap-sb-item i{font-style:normal;font-size:10.5px;color:var(--muted);font-variant-numeric:tabular-nums;}.ap-sb-all{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#FF2D8A,#B3005C);color:#fff;font-size:15px;font-weight:700;}.ap-sb-n{position:absolute;top:4px;right:10px;min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:#d14343;color:#fff;font-size:10.5px;line-height:17px;text-align:center;font-weight:700;}.ap-sb-m{padding-left:12px;padding-right:12px;}.ap-sb-m .ap-sb-item{min-width:66px;}.tl-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 18px rgba(120,96,60,.05);overflow:hidden;}.tl-head{display:flex;align-items:baseline;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);background:#FBF7F0;}.tl-head div{font-size:14px;font-weight:700;color:var(--ink);}.tl-head span{font-size:12px;color:var(--muted);}.tl-body{position:relative;padding:10px 16px 10px 0;}.tl-tick{position:absolute;left:0;right:0;height:0;border-top:1px dashed rgba(0,0,0,.07);}.tl-tick span{position:absolute;left:12px;top:-8px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;background:#fff;padding-right:6px;}.tl-track{position:absolute;left:64px;right:18px;top:10px;}.tl-block{position:absolute;left:0;right:0;border-radius:9px;padding:5px 10px;overflow:hidden;border-left:3px solid var(--line);background:#F8FAFC;cursor:pointer;transition:box-shadow .14s;}.tl-block:hover{box-shadow:0 6px 16px rgba(0,0,0,.12);}.tl-b-time{font-size:11px;font-weight:700;color:var(--ink2);font-variant-numeric:tabular-nums;}.tl-b-name{font-size:13px;font-weight:600;color:var(--ink);}.tl-b-name span{font-weight:500;color:var(--ink2);font-size:12.5px;}.tl-b-extra{font-size:11.5px;color:var(--muted);margin-top:2px;}.tl-block.pending{background:#FFF8E8;border-left-color:#f59e0b;}.tl-block.arrived{background:#E8F7FE;border-left-color:#0ea5e9;}.tl-block.done{background:#E9FBF2;border-left-color:#10b981;}.tl-block.noshow{background:#FEECEC;border-left-color:#FF2D8A;}.tl-block.cancel{background:#F1F5F9;border-left-color:#cbd5e1;}.tl-free{position:absolute;left:0;right:0;border:1px dashed #E3D9C8;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:11.5px;color:#B8A98F;background:repeating-linear-gradient(135deg,#FDFBF7 0 8px,#FAF6EF 8px 16px);cursor:pointer;}.tl-free:hover{border-color:rgba(var(--accent-rgb),.45);color:var(--accent);}.tl-now{position:absolute;left:0;right:0;height:2px;background:#FF2D8A;z-index:3;}.tl-now::before{content:'';position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#FF2D8A;}.m-ap-tl{padding:0 12px;}.m-ap-tl .tl-head{border-radius:14px 14px 0 0;}.m-ap-tl .tl-wrap{box-shadow:0 4px 14px rgba(15,23,42,.06);}.ap-md-h{display:flex;align-items:center;gap:8px;margin-bottom:6px;}.ap-md-h b{font-size:16px;color:var(--ink);}.ap-md-time{font-size:12.5px;color:var(--muted);margin-bottom:10px;}.ap-md-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}.tl-block{left:auto;right:auto;}.tl-body{padding:0 18px 0 0;}.tl-track{top:12px;}.ca-panel.ca-month{padding:12px 12px 10px;}.cm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}.cm-head b{font-size:14px;color:var(--ink);font-weight:700;}.cm-nav{display:flex;gap:4px;}.cm-nav button{width:26px;height:24px;border-radius:7px;border:1px solid var(--line);background:#fff;cursor:pointer;color:var(--ink2);font-size:12px;line-height:1;}.cm-nav button:hover{background:#FBF7F0;}.cm-week{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:4px;}.cm-week span{text-align:center;font-size:11.5px;color:var(--muted);padding:2px 0;}.cm-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;}.cm-cell{position:relative;aspect-ratio:1 / 1;display:flex;align-items:center;justify-content:center;font-size:12.5px;color:var(--ink);border-radius:8px;cursor:pointer;transition:background .12s;}.cm-cell:hover{background:#FBF7F0;}.cm-cell.out{color:#CBD5E1;}.cm-cell.today{box-shadow:inset 0 0 0 1.5px rgba(var(--accent-rgb),.5);}.cm-cell.sel{background:#2563EB;color:#fff;font-weight:700;box-shadow:0 2px 8px rgba(37,99,235,.35);}.cm-cell.sel .cm-dot{background:rgba(255,255,255,.9);color:#2563EB;}.cm-dot{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);min-width:14px;height:14px;padding:0 3px;border-radius:7px;background:#10b981;color:#fff;font-size:9.5px;line-height:14px;text-align:center;font-style:normal;font-weight:700;}.cm-dot.wait{background:#f59e0b;}.tl-block{z-index:2;display:flex;flex-direction:column;justify-content:center;}.tl-block.tight{padding:2px 8px;}.tl-block.tight .tl-b-time{font-size:10px;line-height:1.2;}.tl-block.tight .tl-b-name{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.tl-block.one{padding:0 8px;}.tl-b-one{font-size:11.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.tl-b-one b{font-size:10px;color:var(--ink2);margin-right:4px;font-variant-numeric:tabular-nums;}.tl-free{z-index:1;}.tl-block{border-left-width:0;border-radius:9px;box-shadow:0 2px 8px rgba(179,0,92,.10);}.tl-block .tl-b-time{color:rgba(255,255,255,.92);}.tl-block .tl-b-name{color:#fff;}.tl-block .tl-b-name span{color:rgba(255,255,255,.88);}.tl-block .tl-b-extra{color:rgba(255,255,255,.78);}.tl-block .tl-b-one{color:#fff;}.tl-block .tl-b-one b{color:rgba(255,255,255,.9);}.tl-block.pending{background:linear-gradient(135deg,#FF6FB0,#D6006E);box-shadow:0 4px 12px rgba(214,0,110,.28);}.tl-block.arrived{background:linear-gradient(135deg,#FF2D8A,#B3005C);box-shadow:0 4px 12px rgba(179,0,92,.24);}.tl-block.done{background:linear-gradient(135deg,#FFE8F2,#FFD3E6);box-shadow:none;}.tl-block.done .tl-b-time{color:#8A0047;}.tl-block.done .tl-b-name{color:#7A003F;}.tl-block.done .tl-b-name span{color:#8A0047;}.tl-block.done .tl-b-extra{color:#8A0047;}.tl-block.done .tl-b-one{color:#7A003F;}.tl-block.done .tl-b-one b{color:#8A0047;}.tl-block.noshow{background:#FEE2E2;box-shadow:none;}.tl-block.cancel{background:#F1F5F9;box-shadow:none;opacity:.7;}.tl-block.noshow .tl-b-time,.tl-block.noshow .tl-b-name,.tl-block.noshow .tl-b-one,.tl-block.cancel .tl-b-time,.tl-block.cancel .tl-b-name,.tl-block.cancel .tl-b-one{color:#7F1D1D;}.tl-block.cancel .tl-b-time,.tl-block.cancel .tl-b-name,.tl-block.cancel .tl-b-one{color:#64748B;}.tl-block:hover{box-shadow:0 8px 22px rgba(179,0,92,.3);}.tl-free{background:repeating-linear-gradient(135deg,#FCFAF6 0 9px,#F7F3EB 9px 18px);border-color:#EADFCC;color:#C3B49A;}.tl-free:hover{border-color:rgba(214,0,110,.45);color:#D6006E;background:repeating-linear-gradient(135deg,#FFF5F5 0 9px,#FFE9EC 9px 18px);}.tl-tick{border-top-color:rgba(0,0,0,.06);}.tl-b-tag{float:right;font-size:10px;font-weight:600;padding:1px 7px;border-radius:9px;background:rgba(255,255,255,.24);color:#fff;}.tl-block.done .tl-b-tag{background:rgba(138,0,71,.14);color:#8A0047;}.ag-item.pending{border-left-color:#D6006E;border-left-width:4px;}.ag-item.arrived{border-left-color:#B3005C;border-left-width:4px;}.ag-item.done{border-left-color:#FFD3E6;border-left-width:4px;}.ag-item.noshow{border-left-color:#FF2D8A;}.ag-item.cancel{border-left-color:#CBD5E1;}.ag-time{color:#B3005C;}.btn-teal,.btn-teal.btn-sm{background:linear-gradient(135deg,#FF2D8A,#B3005C) !important;color:#fff !important;}.btn-teal:hover{background:linear-gradient(135deg,#FF6FB0,#D6006E) !important;}.tl-free,.tl-free:hover{background:#FBFAF7 !important;border-style:dashed;}.tl-free:hover{background:#FFF7F7 !important;}.m-head .m-ap-add{padding:8px 14px;border-radius:12px;font-size:13.5px;font-weight:700;box-shadow:0 4px 12px rgba(179,0,92,.28) !important;}html.force-m .m-ap-list{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px));}.tl-tick.end{border-top-style:solid;border-top-color:rgba(179,0,92,.35);}.tl-tick.end span{color:#B3005C;font-weight:700;}.hm-cell .js-appt-badge{position:absolute;top:-2px;right:-2px;margin-left:0;z-index:2;}.yr-head{display:flex;align-items:center;gap:26px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 20px;margin-bottom:12px;box-shadow:0 6px 18px rgba(120,96,60,.05);}.yr-total b{font-size:34px;font-weight:800;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:-1px;}.yr-total span{display:block;font-size:12.5px;color:var(--muted);margin-top:2px;}.yr-kpis{display:flex;gap:22px;flex-wrap:wrap;margin-left:auto;}.yr-kpis>div{text-align:center;}.yr-kpis b{display:block;font-size:19px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;}.yr-kpis span{font-size:11.5px;color:var(--muted);}.yr-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 16px 12px;box-shadow:0 6px 18px rgba(120,96,60,.05);}.yr-m{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:190px;cursor:pointer;border-radius:10px;padding:6px 2px;transition:background .15s;}.yr-m:hover{background:#FBF7F0;}.yr-m.on{background:#FFF0F6;box-shadow:inset 0 0 0 1.5px rgba(var(--accent-rgb),.45);}.yr-m-n{font-size:13px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;margin-bottom:4px;}.yr-m-bar{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;}.yr-m-bar i{display:block;width:60%;max-width:34px;min-height:3px;border-radius:6px 6px 3px 3px;background:linear-gradient(180deg,#FF6FB0,#D6006E);transition:height .3s;}.yr-m-lb{font-size:11.5px;color:var(--muted);margin-top:6px;}.yr-tip{font-size:12px;color:var(--muted);text-align:center;margin-top:10px;}@media (max-width:1280px){.yr-grid{grid-template-columns:repeat(6,minmax(0,1fr));}.yr-m{height:140px;}}.ca-strip.yr-mode .ca-strip-row{display:none;}.ca-strip.yr-mode .ap-sb-n{display:none;}.m-head-btns{display:flex;align-items:center;gap:8px;}html.force-m .m-head .m-sub-btn{padding:8px 12px;font-size:13px;}html.force-m .m-credit-btn{color:#B3005C;border-color:rgba(179,0,92,.35);background:#FFF5F6;}html.force-m .m-credit-btn .js-credit-badge{display:inline-block;min-width:17px;height:17px;margin-left:4px;padding:0 5px;border-radius:9px;background:#D6006E;color:#fff;font-size:10.5px;line-height:17px;text-align:center;font-weight:700;vertical-align:1px;}html.force-m .m-credit-btn .js-credit-badge.hide{display:none;}html.force-m .hm-cell[data-credit]{display:none;}.av2 .g84r>.card:first-child .ni-chips{grid-template-columns:1fr !important;top:318px !important;gap:7px !important;}.av2 .g84r>.card:first-child .ni-chips>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:8px 12px;transition:background .15s,box-shadow .15s;}.av2 .g84r>.card:first-child .ni-chips>div:hover{background:#FFF3F4;box-shadow:inset 0 0 0 1px rgba(168,18,63,.22);}.av2 .g84r>.card:first-child .ni-chips>div span{white-space:nowrap;}html.force-m .av2 .g84r>.card:first-child .ni-chips{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}html.force-m .av2 .g84r>.card:first-child .ni-chips>div{flex-direction:column;align-items:flex-start;gap:2px;}.donut-foot .df-redeem{display:block;margin-top:3px;font-style:normal;color:#8A5A2B;}.av2 .g84r>.card:first-child .ni-chips{position:static !important;width:100% !important;display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;margin-top:14px !important;left:auto !important;top:auto !important;}.av2 .g84r>.card:first-child .ni-chips::before{grid-column:1 / -1;margin-bottom:0;}.av2 .g84r>.card:first-child .ni-chips>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:9px 12px !important;background:var(--surface2);border-radius:9px;transition:background .15s,box-shadow .15s;}.av2 .g84r>.card:first-child .ni-chips>div:hover{background:#FFF3F4;box-shadow:inset 0 0 0 1px rgba(168,18,63,.22);}html.force-m .av2 .g84r>.card:first-child .ni-chips{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}html.force-m .av2 .g84r>.card:first-child .ni-chips>div{flex-direction:column;align-items:flex-start;gap:2px;}.av2 .ni-chips.ni-in-donut{position:static !important;left:auto !important;top:auto !important;bottom:auto !important;width:100% !important;max-width:100%;display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;margin-top:10px !important;padding-top:0 !important;border-top:0 !important;}.av2 .ni-chips.ni-in-donut::before{display:none !important;content:none !important;}.av2 .ni-chips.ni-in-donut>div{display:flex;flex-direction:column;gap:2px;padding:8px 12px !important;background:var(--surface2);border-radius:9px;cursor:pointer;transition:background .15s,box-shadow .15s;}.av2 .ni-chips.ni-in-donut>div:hover{background:#FFF3F4;box-shadow:inset 0 0 0 1px rgba(168,18,63,.22);}.av2 .ni-chips.ni-in-donut>div b{font-size:13.5px !important;white-space:nowrap;}.av2 .ni-chips.ni-in-donut>div span{font-size:10.5px !important;color:#6B655C;white-space:nowrap;}html.force-m .av2 .ni-chips.ni-in-donut{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}html.force-m .av2 .ni-chips.ni-in-donut>div{padding:7px 9px !important;}html.force-m .av2 .ni-chips.ni-in-donut>div b{font-size:12.5px !important;}html.force-m .av2 .ni-chips.ni-in-donut>div span{font-size:9.5px !important;}.av2 .g84r>.card:first-child .donut-foot{display:none !important;}.av2 .ni-chips.ni-in-donut{grid-template-columns:repeat(3,minmax(0,1fr)) !important;margin-top:12px !important;height:auto;}.av2 .ni-chips.ni-in-donut>div{padding:7px 10px !important;min-width:0;}.av2 .ni-chips.ni-in-donut>div b{font-size:13px !important;}.av2 .ni-chips.ni-in-donut>div span{font-size:10px !important;overflow:hidden;text-overflow:ellipsis;}html.force-m .av2 .g84r>.card:first-child .donut-foot{display:block !important;}.av2 .ni-chips.ni-in-donut{margin-top:10px !important;gap:6px !important;}.av2 .ni-chips.ni-in-donut>div{flex-direction:row !important;align-items:baseline !important;justify-content:space-between !important;gap:4px !important;padding:5px 8px !important;min-width:0;}.av2 .ni-chips.ni-in-donut>div b{font-size:12.5px !important;line-height:1.2;}.av2 .ni-chips.ni-in-donut>div span{font-size:9px !important;line-height:1.2;color:#6B655C;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}html.force-m .av2 .ni-chips.ni-in-donut>div{flex-direction:column !important;align-items:flex-start !important;}html.force-m .av2 .ni-chips.ni-in-donut>div b{font-size:12.5px !important;}html.force-m .av2 .ni-chips.ni-in-donut>div span{font-size:9.5px !important;}.av2 .ni-chips.ni-in-donut{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:6px !important;margin-top:10px !important;}.av2 .ni-chips.ni-in-donut>div{padding:6px 9px !important;}.av2 .ni-chips.ni-in-donut>div b{font-size:12.5px !important;}.av2 .ni-chips.ni-in-donut>div span{font-size:9.5px !important;}.av2 .ni-chips.ni-in-donut>div:nth-child(3){grid-column:1 / -1;}.av2 .ni-chips.ni-in-donut{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important;margin-top:10px !important;}.av2 .ni-chips.ni-in-donut>div{flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;gap:1px !important;padding:6px 8px !important;}.av2 .ni-chips.ni-in-donut>div:nth-child(3){grid-column:auto !important;}.av2 .ni-chips.ni-in-donut>div b{font-size:12.5px !important;line-height:1.15;white-space:nowrap;}.av2 .ni-chips.ni-in-donut>div span{font-size:9px !important;line-height:1.15;color:#6B655C;white-space:nowrap;overflow:visible;text-overflow:clip;}.av2 .g84r>.card:first-child{position:relative;height:auto !important;min-height:470px;padding:18px 22px 14px;background:radial-gradient(120% 90% at 16% 14%,rgba(168,18,63,.05),transparent 62%),radial-gradient(95% 80% at 96% 96%,rgba(217,167,58,.07),transparent 60%),var(--surface,#fff);overflow:hidden;}.av2 .g84r>.card:first-child::after{content:'';position:absolute;inset:0;pointer-events:none;background-image:repeating-linear-gradient(135deg,rgba(31,33,30,.022) 0 1px,transparent 1px 9px);mask-image:radial-gradient(70% 60% at 50% 40%,#000 20%,transparent 78%);-webkit-mask-image:radial-gradient(70% 60% at 50% 40%,#000 20%,transparent 78%);}.av2 .g84r>.card:first-child>*{position:relative;z-index:1;}.av2 .g84r>.card:first-child .ch-detail-wrap{position:static !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:26px;margin:4px 0 0 !important;padding:0 !important;min-height:320px;height:auto !important;}.av2 .g84r>.card:first-child .donut-col{position:static !important;left:auto !important;top:auto !important;flex:0 0 auto !important;width:42% !important;max-width:410px !important;display:flex;flex-direction:column;align-items:center;padding-top:0 !important;}.av2 .g84r>.card:first-child .donut-col .donut.ec-ring{width:100% !important;height:auto !important;aspect-ratio:1 / 1;filter:drop-shadow(0 10px 22px rgba(168,18,63,.10));}.av2 .g84r>.card:first-child .donut-col .donut-foot{position:static !important;left:auto !important;top:auto !important;display:block !important;margin:12px 0 0 !important;text-align:center;font-size:11.5px;color:var(--muted);}.av2 .g84r>.card:first-child .donut-col .donut-foot .df-redeem{display:block;margin-top:2px;color:#8A5A2B;}.av2 .g84r>.card:first-child .ch-detail-list{position:static !important;left:auto !important;top:auto !important;flex:1 1 auto !important;width:auto !important;max-width:430px;justify-content:center;gap:9px !important;padding-right:4px;}.av2 .g84r>.card:first-child .ch-detail-list .ch-card-row{border-radius:10px;}.av2 .g84r>.card:first-child .ni-chips{position:static !important;left:auto !important;top:auto !important;width:100% !important;display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important;margin:16px 0 0 !important;padding:14px 0 2px !important;border-top:1px dashed var(--line);}.av2 .g84r>.card:first-child .ni-chips::before{display:none !important;content:none !important;}.av2 .g84r>.card:first-child .ni-chips>div{flex-direction:column !important;align-items:flex-start !important;gap:2px !important;padding:8px 12px !important;background:linear-gradient(180deg,#FBFAF7,#F6F3EC);border:1px solid rgba(31,33,30,.05);border-radius:10px;cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s;}.av2 .g84r>.card:first-child .ni-chips>div:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(168,18,63,.10);border-color:rgba(168,18,63,.25);}.av2 .g84r>.card:first-child .ni-chips>div b{font-size:15px !important;line-height:1.15;white-space:nowrap;}.av2 .g84r>.card:first-child .ni-chips>div span{font-size:10.5px !important;color:#6B655C;white-space:nowrap;}html.force-m .av2 .g84r>.card:first-child{min-height:0;padding:14px;}html.force-m .av2 .g84r>.card:first-child .ni-chips{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:7px !important;}html.force-m .av2 .g84r>.card:first-child .ni-chips>div{padding:7px 8px !important;}html.force-m .av2 .g84r>.card:first-child .ni-chips>div b{font-size:13px !important;}html.force-m .av2 .g84r>.card:first-child .ni-chips>div span{font-size:9.5px !important;}.av2 .kpis{grid-template-columns:repeat(5,minmax(0,1fr)) !important;}@media (max-width:1440px){.av2 .kpis{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}}@media (max-width:1100px){.av2 .kpis{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}}@media (max-width:820px){.av2 .kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}html.force-m .av2 .kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}#kpi-appt{transition:box-shadow .15s,transform .15s;}#kpi-appt:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(168,18,63,.10);}.g-stack{display:flex;flex-direction:column;gap:var(--gap);}.g-stack>.card:nth-child(2){flex:0 0 auto;}.av2 .g-stack>.card:nth-child(2){min-height:0;}.av2 .g-stack>.card:nth-child(2) .hour-foot{margin-top:4px;}.mcal{margin-top:2px;}.mcal-wk{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:4px;}.mcal-wk span{text-align:center;font-size:10px;color:var(--muted);font-weight:600;}.mcal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}.mcal-d{position:relative;min-height:34px;border-radius:7px;background:#FBFAF7;border:1px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px 2px;transition:background .15s,border-color .15s,transform .15s;}.mcal-d.blank{background:transparent;border-color:transparent;}.mcal-d .mcal-dn{font-size:9.5px;color:var(--muted);line-height:1;}.mcal-d .mcal-dv{font-size:11px;font-weight:700;color:var(--ink-3,#8A8378);line-height:1.1;font-variant-numeric:tabular-nums;}.mcal-d.has{background:#FDF2F4;}.mcal-d.has .mcal-dv{color:var(--accent,#A8123F);}.mcal-d.today{background:linear-gradient(160deg,#A8123F,#7E0B2E);border-color:#7E0B2E;box-shadow:0 6px 14px rgba(168,18,63,.22);}.mcal-d.today .mcal-dn{color:rgba(255,255,255,.78);}.mcal-d.today .mcal-dv{color:#fff;}.mcal-d.future{opacity:.45;}.mcal-d:not(.blank):hover{transform:translateY(-1px);border-color:rgba(168,18,63,.35);}html.force-m .mcal-d{min-height:30px;}html.force-m .mcal-d .mcal-dv{font-size:10px;}html.force-m .av2 .kpis{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;}html.force-m .av2 .kpi{padding:9px 10px !important;border-radius:12px;}html.force-m .av2 .kpi-label{font-size:10.5px !important;gap:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}html.force-m .av2 .kpi-value{font-size:18px !important;line-height:1.2 !important;margin-top:2px !important;letter-spacing:-.02em;}html.force-m .av2 .kpi-value small{font-size:10px !important;margin-left:1px;}html.force-m .av2 .kpi-foot{font-size:9px !important;margin-top:1px !important;line-height:1.3;gap:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}html.force-m .av2 .delta{font-size:9px !important;padding:0 4px !important;border-radius:3px;}html.force-m .av2 .kpis>.kpi:last-child{grid-column:1 / -1;display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:8px 12px !important;}html.force-m .av2 .kpis>.kpi:last-child .kpi-label{flex:0 0 auto;}html.force-m .av2 .kpis>.kpi:last-child .kpi-value{margin-left:auto;font-size:17px !important;}html.force-m .av2 .kpis>.kpi:last-child .kpi-foot{-webkit-line-clamp:1;flex:0 0 auto;margin-left:8px;font-size:9.5px !important;}.av2 .kpi.kpi-click{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s;}.av2 .kpi.kpi-click:hover{transform:translateY(-1px);border-color:rgba(168,18,63,.3);box-shadow:0 8px 18px rgba(168,18,63,.10);}.av2 .kpi.kpi-click .kpi-label span{color:var(--accent,#A8123F);font-weight:600;}html.force-m .av2 .kpi.kpi-click:active{transform:scale(.985);}body.modal-open{overflow:hidden !important;}body.modal-open .shell,body.modal-open .shell-view{overflow:hidden !important;}body.modal-open .modal-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}html.force-m .m-mem-add{height:34px;padding:0 16px;border-radius:999px;border:none;background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;font-size:12.5px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px rgba(179,0,92,.28);}html.force-m .m-mem-add:active{transform:scale(.97);}html.force-m .m-mem-actions{align-items:center;}html.force-m .m-mem-l2{white-space:normal !important;line-height:1.45;}.badge.badge-gray[title]{cursor:help;}html.force-m .m-mem-l2 .nw{white-space:nowrap;}html.force-m .m-mem-l2{font-size:12px !important;}html.force-m .m-mem-row{padding:11px 12px !important;}.mem-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 10px;}.mem-tb-left{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}.mem-tb-right{display:flex;align-items:center;gap:8px;}.mem-tb-label{font-size:12px;color:var(--muted);}.mem-fchip{height:30px;padding:0 13px;border-radius:999px;cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink-2);font-size:12.5px;transition:all .15s;}.mem-fchip:hover{border-color:rgba(168,18,63,.3);color:var(--accent);}.mem-fchip.on{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600;}.mem-sort{height:32px;padding:0 10px;font-size:12.5px;border-radius:9px;min-width:128px;}.table th input[type=checkbox],.table td input[type=checkbox]{width:15px;height:15px;cursor:pointer;accent-color:var(--accent);}.mprof{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:linear-gradient(180deg,#FFFDFA,#FBF8F2);}.mprof-hd{display:flex;align-items:baseline;justify-content:space-between;font-size:13px;font-weight:700;color:var(--ink);margin-bottom:10px;}.mprof-hd span{font-size:11.5px;font-weight:500;color:var(--muted);}.mprof-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px;}.mprof-kpis>div{background:#fff;border:1px solid rgba(31,33,30,.06);border-radius:10px;padding:8px 10px;}.mprof-kpis b{display:block;font-size:15px;color:var(--ink);font-variant-numeric:tabular-nums;}.mprof-kpis span{font-size:10.5px;color:var(--muted);}.mprof-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px;}.mprof-t{font-size:11.5px;font-weight:700;color:var(--ink-2);margin-bottom:6px;}.mprof-li{display:flex;justify-content:space-between;font-size:12px;color:var(--ink-2);padding:3px 0;border-bottom:1px dashed rgba(31,33,30,.06);}.mprof-li b{color:var(--accent);font-weight:600;}.mprof-empty{font-size:11.5px;color:var(--muted);}.mprof-bars{display:flex;align-items:flex-end;gap:10px;height:62px;}.mprof-bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;}.mprof-bar i{width:100%;max-width:26px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#E9748B,#A8123F);display:block;}.mprof-bar em{font-style:normal;font-size:9.5px;color:var(--muted);}.mprof-tip{font-size:11px;color:var(--muted);margin-top:8px;}html.force-m .mprof-kpis{grid-template-columns:repeat(2,1fr);}html.force-m .mprof-row{grid-template-columns:1fr;gap:10px;}html.force-m .mem-toolbar{gap:8px;}html.force-m .mem-tb-right{width:100%;}html.force-m .mem-tb-right .btn{flex:1;}.mem-fchip.on,html.force-m .mem-fchip.on{background:#A8123F !important;border-color:#A8123F !important;color:#fff !important;font-weight:600;box-shadow:0 4px 12px rgba(168,18,63,.22);}.mdx-meta{display:flex !important;flex-direction:column;gap:0 !important;margin:12px 0 6px !important;}.mdx-meta .mm-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:7px 2px;border-bottom:1px dashed rgba(31,33,30,.07);font-size:12.5px;}.mdx-meta .mm-row:last-child{border-bottom:0;}.mdx-meta .mm-lb{color:var(--muted,#8A8378);min-width:62px;flex:none;font-size:12px;}.mdx-meta .mm-vl{color:var(--ink-2,#3A3D38);font-weight:600;text-align:right;word-break:break-all;}.mdx-side .mdx-tags{justify-content:center;margin:10px 0 4px;}.mdx-side .mdx-side-sep{margin:16px 0 12px;}.mdx-side .mdx-cards-title{margin-bottom:10px;}.mdd{display:flex;flex-direction:column;gap:14px;}.mdd-hero{display:flex;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line2);}.mdd-ava{width:72px;height:72px;border-radius:50%;flex:none;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:700;color:#fff;background:linear-gradient(145deg,#C81E4A,#8E0E32);box-shadow:0 8px 20px rgba(168,18,63,.26);}.mdd-ava img{width:100%;height:100%;object-fit:cover;}.mdd-hero-main{flex:1;min-width:0;}.mdd-name{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:700;letter-spacing:-.01em;color:var(--ink);}.mdd-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:7px;font-size:12.5px;color:var(--muted);}.mdd-meta b{color:var(--ink-2);font-weight:600;}.mdd-tags{margin-top:9px;display:flex;gap:6px;flex-wrap:wrap;}.mdd-hero-acts{display:flex;gap:8px;flex:none;flex-wrap:wrap;justify-content:flex-end;max-width:340px;}.mdd-kpis{display:grid !important;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 !important;}.mdd-kpis .mdx-stat{background:#fff;border:1px solid var(--line2);border-radius:14px;padding:12px 15px !important;text-align:left !important;}.mdd-kpis .mdx-stat .lb{font-size:11.5px !important;color:var(--muted);}.mdd-kpis .mdx-stat .vl{font-size:21px !important;font-weight:700;margin-top:4px !important;letter-spacing:-.02em;}.mdd-kpis .mdx-stat .sb{font-size:11px !important;margin-top:2px;}.mdd-body{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:start;}.mdd-side,.mdd-main{background:#fff;border:1px solid var(--line2);border-radius:16px;padding:15px 16px;min-width:0;}.mdd-side-hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px;}.mdd-side-hd h3{margin:0;font-size:12.5px;font-weight:700;color:var(--ink);}.mdd-cards{margin-top:4px;}.mdd-main{padding:15px 16px;}.mdd-main .mprof{border:0;padding:0;background:transparent;}.mdd .md-tabs2{margin-top:2px;}.mdd #mdx-body{max-height:300px;overflow-y:auto;}html.force-m .mdd-hero{gap:12px;padding-bottom:12px;}html.force-m .mdd-ava{width:54px;height:54px;font-size:20px;}html.force-m .mdd-name{font-size:16px;}html.force-m .mdd-meta{font-size:11.5px;gap:4px 10px;}html.force-m .mdd-hero-acts{width:100%;max-width:none;justify-content:flex-start;}html.force-m .mdd-kpis{grid-template-columns:repeat(2,1fr);gap:8px;}html.force-m .mdd-kpis .mdx-stat .vl{font-size:18px !important;}html.force-m .mdd-body{grid-template-columns:1fr;}.mdd-hero-acts .btn{padding:7px 12px !important;font-size:12.5px !important;border-radius:9px;}.mdd-hero-acts .btn.btn-sm{padding:6px 10px !important;font-size:12px !important;}.mdd-hero-acts{max-width:400px;gap:7px;}#mdx-av-up{color:var(--muted) !important;}.mdd-side .mdx-meta{margin:4px 0 0 !important;}.mdd{background:linear-gradient(180deg,#FAF6EF,#F7F2E9);margin:-14px -16px -16px;padding:16px 16px 18px;border-radius:0 0 14px 14px;}.mdd-hero{background:linear-gradient(135deg,#FFF7F5 0%,#FBEDE7 60%,#F7E6DF 100%);border:1px solid #F0DCD2 !important;border-radius:16px;padding:15px 16px !important;box-shadow:0 3px 10px rgba(168,18,63,.06);}.mdd-kpis .mdx-stat{background:#fff !important;border:1px solid #EDE5D8 !important;box-shadow:0 2px 7px rgba(31,33,30,.06);}.mdd-side,.mdd-main{background:#fff !important;border:1px solid #EDE5D8 !important;box-shadow:0 3px 12px rgba(31,33,30,.06);}.mdd-side-hd h3{color:#2B2E29;}.mdd .md-tabs2{background:#F2ECE0;border:1px solid #E7DECE;border-bottom:0;border-radius:14px 14px 0 0;padding:4px 8px 0 !important;margin-top:2px;}.mdd .md-tabs2 .md-tab2{border-radius:10px 10px 0 0;}.mdd #mdx-body{background:#fff;border:1px solid #E7DECE;border-top:0;border-radius:0 0 14px 14px;padding:12px 14px !important;max-height:320px;overflow-y:auto;}.mdd-hero-acts .btn{border:1px solid #E4D9C9 !important;background:#fff !important;color:#3A3D38 !important;box-shadow:0 2px 5px rgba(31,33,30,.07);}.mdd-hero-acts .btn.btn-red,.mdd-hero-acts .btn.btn-primary,.mdd-hero-acts .btn[class*="btn-red"]{background:linear-gradient(180deg,#D6006E,#A50055) !important;color:#fff !important;border:0 !important;box-shadow:0 5px 14px rgba(168,18,63,.28);}.mdd-hero-acts .btn:hover{transform:translateY(-1px);}#mdx-av-up{background:transparent !important;border:0 !important;box-shadow:none !important;color:#A79F92 !important;opacity:.55;padding:4px 6px !important;transition:opacity .15s,color .15s;}#mdx-av-up:hover{opacity:1;color:var(--accent) !important;}.mdb{display:flex;flex-direction:column;gap:14px;}.mdb-hero{display:flex;align-items:flex-start;gap:16px;padding:14px 16px;border:1px solid #EDE5D8;border-radius:16px;background:linear-gradient(135deg,#FFFDFA 0%,#FDF7F1 100%);}.mdb-ava-col{display:flex;flex-direction:column;align-items:center;gap:6px;flex:none;}.mdb-ava{width:64px;height:64px;border-radius:50%;overflow:hidden;flex:none;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#fff;background:linear-gradient(145deg,#C81E4A,#8E0E32);box-shadow:0 6px 16px rgba(168,18,63,.24);}.mdb-ava img{width:100%;height:100%;object-fit:cover;}.mdb-av-btn{border:1px solid #E7DECE;background:#fff;color:#6B655C;font-size:11px;padding:3px 9px;border-radius:999px;cursor:pointer;white-space:nowrap;}.mdb-av-btn:hover{color:var(--accent);border-color:rgba(168,18,63,.35);}.mdb-ident{flex:0 1 auto;min-width:0;padding-top:2px;}.mdb-name{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700;}.mdb-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:6px;font-size:12.5px;color:var(--muted);}.mdb-meta b{color:var(--ink-2);font-weight:600;}.mdb-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;}.mdb-cardbox{flex:0 0 auto;margin-left:auto;}.mdb-cardbox-hd{font-size:10.5px;color:var(--muted);margin-bottom:5px;}.mdb-cards{display:flex;gap:10px;}.mdb-cards .md-card{width:176px !important;height:110px !important;border-radius:13px;box-shadow:0 8px 18px rgba(60,66,80,.18);}.mdb-cards .mcard-lg{max-width:176px !important;border-radius:13px;padding:10px 12px;}.mdb-cards .mcard-lg-top{font-size:8px !important;}.mdb-cards .mcard-lg-mid{font-size:24px !important;}.mdb-cards .mcard-lg-name{font-size:12px !important;}.mdb-cards .mcard-lg-sub{font-size:8.5px !important;}.mdb-cards .mcard-lg-bot{font-size:8.5px !important;}.mdb-cards .md-card img{width:100%;height:100%;object-fit:cover;}.mdb-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;flex:0 0 auto;max-width:320px;padding-top:2px;}.mdb-acts .btn{border:1px solid #E4D9C9;background:#fff;color:#3A3D38;box-shadow:0 2px 5px rgba(31,33,30,.06);padding:7px 12px;font-size:12.5px;}.mdb-acts .btn.btn-red,.mdb-acts .btn.btn-primary{background:linear-gradient(180deg,#D6006E,#A50055) !important;color:#fff !important;border:0 !important;box-shadow:0 5px 14px rgba(168,18,63,.26);}.mdb-kpis{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 !important;}.mdb-kpis .mdx-stat{background:#fff;border:1px solid #EDE5D8;border-radius:13px;padding:11px 14px !important;text-align:left !important;}.mdb-kpis .mdx-stat .lb{font-size:11px !important;color:var(--muted);}.mdb-kpis .mdx-stat .vl{font-size:19px !important;font-weight:700;margin-top:3px !important;letter-spacing:-.02em;}.mdb-kpis .mdx-stat .sb{font-size:10.5px !important;margin-top:2px;}.mdb .md-tabs2{border-bottom:1px solid var(--line2);}.mdb #mdx-body{max-height:330px;overflow-y:auto;padding-top:12px;}.mdbm{display:flex;flex-direction:column;gap:10px;}.mdbm-hero{display:flex;align-items:flex-start;gap:12px;}.mdbm-ava-col{display:flex;flex-direction:column;align-items:center;gap:5px;flex:none;}.mdbm-ava{width:54px !important;height:54px !important;font-size:19px !important;}.mdbm-av-btn{border:1px solid #E7DECE;background:#fff;color:#7A746A;font-size:10px;padding:2px 7px;border-radius:999px;}.mdbm-ident{flex:1;min-width:0;}.mdbm-name{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:700;}.mdbm-meta{font-size:11.5px;color:var(--muted);margin-top:3px;}.mdbm-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px;}.mdbm-cards{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;}.mdbm-cards .md-card{width:168px !important;height:105px !important;flex:none;}.mdbm-cards .mcard-lg{max-width:168px !important;padding:10px 12px;}.mdbm-cards .mcard-lg-mid{font-size:22px !important;}.mdbm-cards .mcard-lg-name{font-size:12px !important;}html.force-m .mdbm .mdxm-stats{grid-template-columns:repeat(2,1fr) !important;}html.force-m .mdbm .mdxm-tabs{overflow-x:auto;}html.force-m .mdbm-cards{display:flex !important;gap:8px;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;scrollbar-width:none;}html.force-m .mdbm-cards::-webkit-scrollbar{display:none;}html.force-m .mdbm-cards .md-card,html.force-m .mdbm-cards .mdx-cards .md-card{position:static !important;left:auto !important;top:auto !important;transform:none !important;width:168px !important;height:105px !important;flex:0 0 168px;box-shadow:0 8px 18px rgba(60,66,80,.16) !important;}html.force-m .mdbm-cards .mcard-lg{max-width:168px !important;}html.force-m .mdbm-av-btn{font-size:9.5px !important;padding:2px 6px !important;}html.force-m .mdbm-cards{flex-direction:row !important;flex-wrap:nowrap !important;align-items:flex-start !important;height:auto !important;}html.force-m .mdbm-cards .md-card{flex:0 0 168px !important;width:168px !important;height:105px !important;min-height:0 !important;max-height:105px !important;display:block !important;}html.force-m .mdbm-cards .md-card .mcard-lg{width:168px !important;height:105px !important;max-width:168px !important;aspect-ratio:auto !important;padding:9px 11px !important;}html.force-m .mdbm-cards .mcard-lg-top{font-size:7.5px !important;letter-spacing:.5px;}html.force-m .mdbm-cards .mcard-lg-mid{font-size:15px !important;line-height:1.1;letter-spacing:.5px;}html.force-m .mdbm-cards .mcard-lg-name{font-size:11px !important;}html.force-m .mdbm-cards .mcard-lg-sub{font-size:7.5px !important;}html.force-m .mdbm-cards .mcard-lg-bot{font-size:7.5px !important;}.mdb-cards{position:relative;}.mdb-cards:not(.deck){display:flex;}.mdb-cards:not(.deck) .md-card{width:176px !important;height:110px !important;}.mdb-cards.deck{display:block !important;width:176px;height:150px;}.mdb-cards.deck .md-card{position:absolute !important;left:0;width:176px !important;height:110px !important;border-radius:13px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease;cursor:pointer;}.mdb-cards.deck .md-card:nth-child(1){top:0;z-index:1;transform:rotate(-1.2deg);}.mdb-cards.deck .md-card:nth-child(2){top:18px;z-index:2;transform:rotate(.8deg);}.mdb-cards.deck .md-card:nth-child(3){top:36px;z-index:3;transform:rotate(-.6deg);}.mdb-cards.deck .md-card:nth-child(4){top:54px;z-index:4;transform:rotate(.5deg);}.mdb-cards.deck .md-card:nth-child(n+5){top:66px;z-index:5;}.mdb-cards.deck .md-card:hover,.mdb-cards.deck .md-card.sel{z-index:99 !important;transform:translateY(-6px) rotate(0deg) scale(1.02) !important;box-shadow:0 16px 30px rgba(15,23,42,.30) !important;}.mdb-cardbox-hd{display:flex;align-items:baseline;justify-content:space-between;gap:8px;}.mdb-cardbox-hd em{font-style:normal;font-size:10px;color:#A79F92;}.mdb-av-btn{font-size:12px !important;font-weight:600 !important;color:#3A3D38 !important;border:1px solid #D9CEC0 !important;background:#fff !important;padding:4px 11px !important;border-radius:999px !important;box-shadow:0 1px 3px rgba(31,33,30,.08);}.mdb-av-btn:hover{color:var(--accent) !important;border-color:rgba(168,18,63,.45) !important;}html.force-m .mdbm-av-btn{font-size:11px !important;font-weight:600 !important;color:#3A3D38 !important;border:1px solid #D9CEC0 !important;padding:3px 9px !important;background:#fff !important;border-radius:999px !important;}.pe-head{font-size:13px;color:var(--ink-2);margin-bottom:12px;}.pe-head b{color:var(--accent);font-size:17px;font-variant-numeric:tabular-nums;}.pe-list{display:flex;flex-direction:column;gap:9px;max-height:380px;overflow-y:auto;}.pe-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;}.pe-item.off{opacity:.55;}.pe-ico{width:42px;height:42px;border-radius:10px;flex:none;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#FBF6EE;font-size:20px;}.pe-ico img{width:100%;height:100%;object-fit:cover;}.pe-info{flex:1;min-width:0;}.pe-info b{display:block;font-size:13.5px;font-weight:600;color:var(--ink);}.pe-info span{font-size:11.5px;color:var(--muted);}.mdb-cards.deck{height:168px !important;}.mdb-cards.deck .md-card:nth-child(1){top:0 !important;z-index:5 !important;transform:rotate(-1deg) !important;}.mdb-cards.deck .md-card:nth-child(2){top:22px !important;z-index:4 !important;transform:rotate(.6deg) !important;}.mdb-cards.deck .md-card:nth-child(3){top:44px !important;z-index:3 !important;transform:rotate(-.5deg) !important;}.mdb-cards.deck .md-card:nth-child(4){top:62px !important;z-index:2 !important;transform:rotate(.4deg) !important;}.mdb-cards.deck .md-card:nth-child(n+5){top:76px !important;z-index:1 !important;}.mdb-cards.deck .md-card:hover,.mdb-cards.deck .md-card.sel{z-index:99 !important;}.mdb-cardbox-hd em{color:#8A8378 !important;font-size:10.5px !important;}.mdb-cards.deck{height:152px !important;}.mdb-cards.deck .md-card:nth-child(1){top:0 !important;}.mdb-cards.deck .md-card:nth-child(2){top:20px !important;}.mdb-cards.deck .md-card:nth-child(3){top:40px !important;}.mdb-cards.deck .md-card:nth-child(4){top:58px !important;}.mdb-cards.deck .md-card:nth-child(n+5){top:70px !important;}.mdb-cards.deck .md-card:not(:nth-child(1))::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.45));transition:opacity .18s;}.mdb-cards.deck .md-card:hover::after{opacity:0;}.mdb-cards.deck .md-card:not(:nth-child(1))::after{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.88)) !important;}.mdb-cards.deck .md-card::after{display:none !important;content:none !important;}.mdb-cards.deck{position:relative !important;display:block !important;width:236px !important;height:106px !important;perspective:720px;}.mdb-cards.deck .md-card{position:absolute !important;top:6px !important;width:132px !important;height:84px !important;border-radius:11px !important;overflow:hidden;cursor:pointer;transform-origin:center bottom;will-change:transform,box-shadow;transition:transform .3s cubic-bezier(.22,.68,.32,1.02),box-shadow .3s cubic-bezier(.22,.68,.32,1.02),filter .3s ease !important;box-shadow:-2px 4px 10px rgba(31,33,30,.16);}.mdb-cards.deck .md-card:nth-child(1){left:0 !important;z-index:3 !important;transform:rotate(-1.4deg);}.mdb-cards.deck .md-card:nth-child(2){left:52px !important;z-index:2 !important;transform:rotate(0deg);}.mdb-cards.deck .md-card:nth-child(3){left:104px !important;z-index:1 !important;transform:rotate(1.4deg);}.mdb-cards.deck .md-card:nth-child(4){left:148px !important;z-index:1 !important;transform:rotate(2deg);}.mdb-cards.deck .md-card:nth-child(n+5){left:158px !important;z-index:1 !important;transform:rotate(2.4deg);}.mdb-cards.deck .md-card:hover,.mdb-cards.deck .md-card.sel{z-index:99 !important;transform:translateY(-12px) rotate(0deg) rotateX(6deg) scale(1.07) !important;box-shadow:0 20px 34px rgba(15,23,42,.30),0 4px 10px rgba(15,23,42,.16) !important;filter:saturate(1.06);}.mdb-cards.deck .mcard-lg{max-width:132px !important;border-radius:11px !important;padding:8px 10px !important;}.mdb-cards.deck .mcard-lg-top{font-size:6.5px !important;letter-spacing:.3px;}.mdb-cards.deck .mcard-lg-mid{font-size:15px !important;letter-spacing:.3px;line-height:1.05;}.mdb-cards.deck .mcard-lg-name{font-size:9.5px !important;}.mdb-cards.deck .mcard-lg-sub{font-size:6.5px !important;}.mdb-cards.deck .mcard-lg-bot{font-size:6.5px !important;}.mdb-cards.deck .mcard-lg::before,.mdb-cards.deck .mcard-lg::after{opacity:.7;}.mdb-cards.deck{width:262px !important;height:104px !important;}.mdb-cards.deck .md-card{top:8px !important;width:142px !important;height:88px !important;}.mdb-cards.deck .md-card:nth-child(1){top:8px !important;left:0 !important;z-index:3 !important;transform:rotate(-1.6deg) !important;}.mdb-cards.deck .md-card:nth-child(2){top:8px !important;left:60px !important;z-index:2 !important;transform:rotate(-0.2deg) !important;}.mdb-cards.deck .md-card:nth-child(3){top:8px !important;left:120px !important;z-index:1 !important;transform:rotate(1.2deg) !important;}.mdb-cards.deck .md-card:nth-child(4){top:8px !important;left:160px !important;z-index:1 !important;transform:rotate(2deg) !important;}.mdb-cards.deck .md-card:nth-child(n+5){top:8px !important;left:172px !important;z-index:1 !important;transform:rotate(2.4deg) !important;}.mdb-cards.deck .md-card:hover,.mdb-cards.deck .md-card.sel{transform:translateY(-14px) rotate(0deg) rotateX(8deg) scale(1.08) !important;box-shadow:0 22px 38px rgba(15,23,42,.32),0 6px 12px rgba(15,23,42,.18) !important;}.mdb-cards.deck .mcard-lg{max-width:142px !important;padding:9px 11px !important;}.mdb-cards.deck .mcard-lg-mid{font-size:16px !important;}.mdb-cards.deck .mcard-lg-name{font-size:10px !important;}.mdb-cards.deck .md-card{transition:transform .32s cubic-bezier(.22,.68,.32,1.02),left .32s cubic-bezier(.22,.68,.32,1.02),box-shadow .32s ease,filter .32s ease !important;}.mdb-cards.deck:hover .md-card:nth-child(2){left:68px !important;}.mdb-cards.deck:hover .md-card:nth-child(3){left:136px !important;}.mdb-cards.deck:hover .md-card:nth-child(4){left:178px !important;}.mdb-cards.deck .md-card:nth-child(1){transform:translateY(0) !important;}.mdb-cards.deck .md-card:nth-child(2){transform:translateY(0) !important;}.mdb-cards.deck .md-card:nth-child(3){transform:translateY(0) !important;}.mdb-cards.deck .md-card:nth-child(4),.mdb-cards.deck .md-card:nth-child(n+5){transform:translateY(0) !important;}.mdb-cards.deck .md-card:hover{transform:translateY(-12px) rotateX(6deg) scale(1.06) !important;box-shadow:0 20px 34px rgba(15,23,42,.30),0 4px 10px rgba(15,23,42,.16) !important;}.mdb-cards.deck .md-card.sel{transform:translateY(-10px) rotateX(0deg) scale(1.07) !important;box-shadow:0 0 0 3px rgba(168,18,63,.55),0 0 26px 6px rgba(168,18,63,.35),0 24px 40px rgba(15,23,42,.26) !important;filter:saturate(1.12) brightness(1.03);z-index:99 !important;}.mdb-cards.deck:has(.md-card.sel) .md-card:not(.sel){filter:blur(2px) saturate(.85) brightness(.97);opacity:.66;transform:translateY(2px) scale(.98) !important;}.mdb-cards.deck .md-card.sel::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.45) 46%,transparent 62%);animation:md-card-shine 1.6s ease-in-out;}@keyframes md-card-shine{from{transform:translateX(-120%);}to{transform:translateX(120%);}}.mdx-cd .mdx-stat .vl{color:var(--accent) !important;font-weight:700 !important;}.mdx-cd .mdxm-stat .vl{color:var(--accent) !important;font-weight:700 !important;}.mdx-cd .mdx-stat{background:#fff;border:1px solid rgba(31,33,30,.06);}.mdx-cd .mdxm-stat{background:#fff;border:1px solid rgba(31,33,30,.06);}.mdb-kpis .mdx-stat:first-child .vl,.mdxm-stats .mdxm-stat:first-child .vl{color:#D6006E !important;}.mdb-ava,.mdbm-ava{cursor:zoom-in;transition:transform .2s ease,box-shadow .2s ease;}.mdb-ava:hover,.mdbm-ava:hover{transform:scale(1.05);box-shadow:0 10px 24px rgba(168,18,63,.32);}.cmp-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}.cmp-hd span{font-size:12px;color:var(--muted);}.cmp-list{display:flex;flex-direction:column;gap:10px;}.cmp-item{display:flex;gap:14px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;}.cmp-thumbs{display:flex;gap:6px;flex:none;}.cmp-th{position:relative;width:84px;height:84px;border-radius:10px;overflow:hidden;background:#F4EEE3;}.cmp-th img{width:100%;height:100%;object-fit:cover;display:block;}.cmp-th em{position:absolute;left:0;right:0;bottom:0;font-style:normal;font-size:9.5px;color:#fff;text-align:center;padding:2px 0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.55));}.cmp-info{flex:1;min-width:0;}.cmp-info b{font-size:13px;color:var(--ink);}.cmp-info span{display:block;font-size:11px;color:var(--muted);margin-top:3px;}.cmp-info p{margin:5px 0 0;font-size:11.5px;color:var(--ink-3);line-height:1.5;}.cmp-acts{display:flex;flex-direction:column;gap:6px;flex:none;}.cmp-empty{text-align:center;padding:34px 0;color:var(--muted);}.cmp-empty-ico{font-size:34px;opacity:.5;margin-bottom:8px;}.cmp-empty-sub{font-size:11.5px;margin-top:4px;}.cmp-up-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;}.cmp-up{height:150px;border:1.5px dashed #D9CEC0;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#FCFAF5;overflow:hidden;transition:border-color .15s,background .15s;}.cmp-up:hover{border-color:rgba(168,18,63,.45);background:#FFF7F8;}.cmp-up-ph{text-align:center;font-size:22px;color:#B9AE9C;line-height:1.4;}.cmp-up-ph span{display:block;font-size:12px;color:var(--muted);}.cmp-up img{width:100%;height:100%;object-fit:cover;}.cmp-view{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.cmp-view-lb{font-size:12px;font-weight:700;color:var(--ink-2);margin-bottom:6px;}.cmp-stage{position:relative;border-radius:12px;overflow:hidden;background:#F4EEE3;cursor:crosshair;}.cmp-stage img{width:100%;display:block;}.cmp-pins{position:absolute;inset:0;}.cmp-pin{position:absolute;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 3px;border-radius:999px;background:rgba(168,18,63,.92);color:#fff;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.28);}.cmp-pin i{font-style:normal;width:15px;height:15px;border-radius:50%;background:#fff;color:#A8123F;font-size:9.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;}.cmp-tip{margin-top:10px;font-size:11.5px;color:var(--muted);}.cmp-note{margin-top:8px;font-size:12.5px;color:var(--ink-3);background:#FBF7F0;border-radius:9px;padding:8px 11px;}html.force-m .cmp-view{grid-template-columns:1fr;}html.force-m .cmp-item{flex-wrap:wrap;}html.force-m .cmp-acts{flex-direction:row;width:100%;}.cmp-zoom-btn{position:absolute;right:8px;top:8px;z-index:3;width:30px;height:30px;border-radius:50%;border:0;cursor:pointer;background:rgba(0,0,0,.5);color:#fff;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .15s,transform .15s;}.cmp-zoom-btn:hover{background:rgba(168,18,63,.9);transform:scale(1.06);}.zoom-box{display:flex;flex-direction:column;gap:8px;}.zoom-stage{position:relative;height:62vh;overflow:hidden;border-radius:12px;background:#14161A;cursor:grab;touch-action:none;}.zoom-stage.grabbing{cursor:grabbing;}.zoom-stage img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;will-change:transform;user-select:none;-webkit-user-drag:none;}.zoom-bar{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);}.zoom-bar #zoom-pct{min-width:48px;text-align:center;font-variant-numeric:tabular-nums;color:var(--ink-2);font-weight:600;}.zoom-bar em{font-style:normal;margin-left:auto;font-size:11px;}html.force-m .zoom-stage{height:52vh;}html.force-m .zoom-bar em{display:none;}.stg-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}.stg-hd span{font-size:12px;color:var(--muted);}.stg-hd b{color:var(--ink-2);}.stg-list{display:flex;flex-direction:column;gap:9px;max-height:420px;overflow-y:auto;}.stg-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;}.stg-item.done{background:#FAF7F1;}.stg-photo{width:52px;height:52px;border-radius:10px;overflow:hidden;flex:none;background:#F4EEE3;display:flex;align-items:center;justify-content:center;font-size:22px;}.stg-photo img{width:100%;height:100%;object-fit:cover;}.stg-info{flex:1;min-width:0;}.stg-info b{font-size:13.5px;color:var(--ink);display:flex;align-items:center;gap:6px;}.stg-info b em{font-style:normal;font-size:11.5px;color:var(--muted);font-weight:500;}.stg-info span{display:block;font-size:11.5px;color:var(--muted);margin-top:3px;}.stg-info .stg-done{color:#B45309;}.stg-item.done .stg-info b{color:var(--muted);text-decoration:line-through;}.stg-acts{display:flex;flex-direction:column;gap:6px;flex:none;}.stg-up{height:140px;border:1.5px dashed #D9CEC0;border-radius:12px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#FCFAF5;overflow:hidden;}.stg-up:hover{border-color:rgba(168,18,63,.45);background:#FFF7F8;}.stg-up-ph{text-align:center;font-size:22px;color:#B9AE9C;}.stg-up-ph span{display:block;font-size:12px;color:var(--muted);}.stg-up img{width:100%;height:100%;object-fit:cover;}html.force-m .stg-item{flex-wrap:wrap;}html.force-m .stg-acts{flex-direction:row;width:100%;}.cmp-pin{touch-action:none;user-select:none;cursor:grab;}.cmp-pin b{font-weight:600;}.cmp-pin.dragging{cursor:grabbing;transform:translate(-50%,-50%) scale(1.06);box-shadow:0 6px 18px rgba(0,0,0,.38);}.cmp-pin::after{content:'';position:absolute;inset:-6px;border-radius:999px;border:2px dashed rgba(255,255,255,.55);opacity:0;transition:opacity .15s;}.cmp-pin:hover::after{opacity:1;}.cmp-mk-tip{margin-top:8px;font-size:11.5px;color:var(--muted);}.mk-work{display:flex;flex-direction:column;gap:18px;}.mk-grp-hd{display:flex;align-items:baseline;gap:8px;margin-bottom:9px;}.mk-grp-hd i{width:4px;height:15px;border-radius:2px;background:var(--accent);display:block;}.mk-grp-hd b{font-size:14px;color:var(--ink);}.mk-grp-hd span{font-size:11.5px;color:var(--muted);}.mk-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;}.mk-tile{text-align:left;border:1px solid var(--line2);border-radius:13px;background:#fff;padding:13px 14px;cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex;flex-direction:column;gap:2px;min-width:0;}.mk-tile:hover{transform:translateY(-2px);border-color:rgba(168,18,63,.3);box-shadow:0 10px 22px rgba(168,18,63,.09);}.mk-tile .mk-ic{font-size:17px;margin-bottom:5px;}.mk-tile b{font-size:13.5px;color:var(--ink);}.mk-tile em{font-style:normal;font-size:11px;color:var(--muted);line-height:1.5;}.mk-tile .mk-metric{margin-top:8px;align-self:flex-start;font-size:11px;font-weight:600;color:var(--accent);background:rgba(168,18,63,.08);padding:2px 8px;border-radius:7px;font-variant-numeric:tabular-nums;}@media (max-width:1240px){.mk-tiles{grid-template-columns:repeat(3,minmax(0,1fr));}}@media (max-width:980px){.mk-tiles{grid-template-columns:repeat(2,minmax(0,1fr));}}html.force-m .mk-tiles{grid-template-columns:1fr;gap:9px;}html.force-m .mk-tile{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 13px;}html.force-m .mk-tile .mk-ic{margin:0;font-size:16px;}html.force-m .mk-tile b{font-size:14px;}html.force-m .mk-tile em{width:100%;font-size:11px;}html.force-m .mk-tile .mk-metric{margin:0 0 0 auto;}.mk-tile{border-color:var(--line) !important;box-shadow:0 2px 7px rgba(31,33,30,.05);}.mk-tile:hover{border-color:rgba(168,18,63,.38) !important;}.mk-grp{padding-bottom:4px;}.mk-grp + .mk-grp{border-top:1px dashed var(--line2);padding-top:14px;}.mk-tile .mk-metric{color:#A8123F;}.mk-tile .mk-metric:empty{display:none;}.mk-tile{background:#FCFAF5 !important;border:1px solid #E7DECE !important;}.mk-tile:hover{background:#fff !important;}.mk-tile .mk-metric{background:rgba(168,18,63,.1) !important;}html.force-m .mk-tile{display:grid !important;grid-template-columns:auto 1fr auto;grid-template-areas:"ic name metric" "desc desc desc";align-items:center;gap:3px 9px !important;padding:11px 13px !important;}html.force-m .mk-tile .mk-ic{grid-area:ic;margin:0 !important;font-size:15px;}html.force-m .mk-tile b{grid-area:name;font-size:14px;}html.force-m .mk-tile .mk-metric{grid-area:metric;margin:0 !important;font-size:10.5px;}html.force-m .mk-tile em{grid-area:desc;width:auto !important;font-size:11px;color:var(--muted);}html.force-m .mk-grp-hd b{font-size:13.5px;}.mk-subtabs{display:flex;gap:4px;border-bottom:1px solid var(--line2);margin-bottom:14px;}.mk-subtabs button{border:0;background:transparent;padding:9px 15px;font-size:13px;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;}.mk-subtabs button.on{color:var(--accent);font-weight:700;border-bottom-color:var(--accent);}.sj-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-radius:12px;background:linear-gradient(135deg,rgba(168,18,63,.08),rgba(201,162,39,.08));border:1px solid rgba(168,18,63,.22);}.sj-bar-l b{display:block;font-size:13.5px;color:var(--accent);}.sj-bar-l span{font-size:11.5px;color:var(--muted);}.sj-list{margin-top:8px;display:flex;flex-direction:column;gap:7px;}.sj-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line2);border-radius:11px;background:#fff;}.sj-ava{width:32px;height:32px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#C81E4A,#8E0E32);color:#fff;font-size:13px;font-weight:700;}.sj-inf{flex:1;min-width:0;}.sj-inf b{font-size:13px;color:var(--ink);}.sj-inf span{display:block;font-size:11px;color:var(--muted);margin-top:2px;}html.force-m .sj-bar{flex-direction:column;align-items:flex-start;gap:8px;}html.force-m .sj-bar .btn{width:100%;}.mk-sec-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;}.mk-sec-hd b{font-size:15px;color:var(--ink);display:block;}.mk-sec-hd span{font-size:11.5px;color:var(--muted);}.mk-kbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;}.mk-kbar .kb{border:1px solid var(--line2);border-radius:12px;padding:10px 12px;background:#FCFAF5;}.mk-kbar .kb span{font-size:11px;color:var(--muted);}.mk-kbar .kb b{display:block;font-size:18px;color:var(--ink);margin-top:2px;font-variant-numeric:tabular-nums;}.mk-kbar .kb em{font-style:normal;font-size:10.5px;color:var(--muted);}.rc-list{display:flex;flex-direction:column;gap:9px;}.rc-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff;}.rc-item.off{background:#FAF7F1;opacity:.75;}.rc-l b{font-size:13.5px;color:var(--ink);}.rc-l span{display:block;font-size:12px;color:var(--accent);margin-top:3px;}.rc-l em{display:block;font-style:normal;font-size:11px;color:var(--muted);margin-top:3px;}.rc-r{display:flex;gap:6px;flex:none;}.mk-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.mk-panel{border:1px solid var(--line2);border-radius:12px;padding:13px 15px;background:#FCFAF5;}.mk-panel>b{font-size:12.5px;color:var(--ink-2);display:block;margin-bottom:10px;}.src-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;}.src-name{font-size:12px;color:var(--ink-2);width:72px;flex:none;}.src-bar{flex:1;height:8px;border-radius:4px;background:#EFE7DA;overflow:hidden;}.src-bar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#C81E4A,#A8123F);}.src-n{font-size:11.5px;color:var(--muted);min-width:56px;text-align:right;font-variant-numeric:tabular-nums;}html.force-m .mk-kbar{grid-template-columns:repeat(2,minmax(0,1fr));}html.force-m .mk-two{grid-template-columns:1fr;}html.force-m .rc-item{flex-direction:column;align-items:flex-start;}html.force-m .rc-r{width:100%;}html.force-m .rc-r .btn{flex:1;}.ci-promo{display:inline-block;margin-left:6px;font-size:10.5px;font-weight:700;color:#fff;background:var(--accent);border-radius:5px;padding:1px 6px;vertical-align:middle;}.poster-wrap{display:flex;justify-content:center;}.poster-wrap img{max-height:62vh;width:auto !important;}.ps-tips{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px;}.ps-tip{display:flex;gap:9px;align-items:flex-start;padding:11px 13px;border:1px solid var(--line2);border-radius:11px;background:#FCFAF5;}.ps-tip b{width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center;flex:none;}.ps-tip span{font-size:12px;color:var(--ink-2);line-height:1.55;}.ps-card{border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;}.ps-line b{font-size:14px;}.ps-line span{display:block;font-size:12px;color:var(--muted);margin-top:3px;}.ps-actions{display:flex;align-items:center;gap:10px;}.ps-hint{font-size:11.5px;color:var(--muted);}html.force-m .ps-tips{grid-template-columns:1fr;}html.force-m .ps-card{flex-direction:column;align-items:flex-start;}.mk-sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:18px;}.mk-sum-i{border:1px solid var(--line);border-radius:13px;padding:12px 14px;background:linear-gradient(160deg,#FFFDF9,#FBF4EA);}.mk-sum-i span{font-size:11px;color:var(--muted);display:block;}.mk-sum-i b{font-size:20px;color:var(--ink);display:block;margin-top:3px;font-variant-numeric:tabular-nums;}.mk-sum-i em{font-style:normal;font-size:10.5px;color:var(--muted);display:block;margin-top:2px;}html.force-m .mk-sum{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}html.force-m .mk-sum-i b{font-size:17px;}.pay-state{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px;}.pay-state b{font-size:13.5px;}.pay-state em{font-style:normal;font-size:12px;color:var(--muted);}.pay-dot{width:8px;height:8px;border-radius:50%;background:#C9C2B4;flex:none;}.pay-dot.on{background:#2F9E5E;box-shadow:0 0 0 3px rgba(47,158,94,.15);}.pay-hint{margin-top:9px;font-size:11.5px;color:var(--muted);line-height:1.7;word-break:break-all;}.pay-steps{background:#FCFAF5;border:1px solid var(--line2);border-radius:11px;padding:11px 13px;margin-bottom:12px;font-size:12px;line-height:1.8;color:var(--ink-2);}.pay-steps b{color:var(--ink);}.pay-switch{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:6px;}.mk-sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:20px;padding:6px 4px;border-radius:16px;border:1px solid rgba(168,18,63,.25);background:linear-gradient(135deg,#3A1120 0%,#5C1529 45%,#7E1030 100%);box-shadow:0 10px 26px rgba(88,12,34,.22);}.mk-sum-i{border:0 !important;background:transparent !important;border-radius:0 !important;padding:10px 18px !important;border-left:1px solid rgba(255,255,255,.13) !important;}.mk-sum-i:first-child{border-left:0 !important;}.mk-sum-i span{color:rgba(255,255,255,.62) !important;font-size:11.5px !important;}.mk-sum-i b{color:#fff !important;font-size:23px !important;letter-spacing:.3px;}.mk-sum-i em{color:rgba(240,201,135,.92) !important;font-size:11px !important;}html.force-m .mk-sum{grid-template-columns:repeat(2,minmax(0,1fr));padding:2px;}html.force-m .mk-sum-i{padding:11px 14px !important;}html.force-m .mk-sum-i:nth-child(3){border-left:0 !important;}html.force-m .mk-sum-i:nth-child(n+3){border-top:1px solid rgba(255,255,255,.13) !important;}html.force-m .mk-sum-i b{font-size:19px !important;}.mk-sum{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 !important;margin-bottom:20px;padding:2px;border-radius:16px !important;border:1px solid #EDE3D3 !important;background:#FFFFFF !important;box-shadow:0 2px 10px rgba(31,33,30,.05) !important;}.mk-sum-i{border:0 !important;background:transparent !important;border-radius:0 !important;padding:14px 18px !important;border-left:1px solid #F1E9DC !important;position:relative;}.mk-sum-i:first-child{border-left:0 !important;}.mk-sum-i::before{content:'';position:absolute;left:18px;top:13px;width:16px;height:3px;border-radius:2px;background:#A8123F;opacity:.55;}.mk-sum-i span{color:#8A8378 !important;font-size:11.5px !important;display:block;margin-top:8px;}.mk-sum-i b{color:#1F211E !important;font-size:23px !important;letter-spacing:.2px;display:block;margin-top:3px;}.mk-sum-i em{color:#A0907C !important;font-size:11px !important;}html.force-m .mk-sum{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}html.force-m .mk-sum-i{padding:13px 14px !important;}html.force-m .mk-sum-i:nth-child(3){border-left:0 !important;}html.force-m .mk-sum-i:nth-child(n+3){border-top:1px solid #F1E9DC !important;}html.force-m .mk-sum-i::before{left:14px;top:12px;}html.force-m .mk-sum-i span{margin-top:9px;}html.force-m .mk-sum-i b{font-size:19px !important;}.mk-sum{display:flex !important;flex-wrap:wrap;align-items:center;gap:4px 0 !important;padding:13px 16px !important;border-radius:13px !important;border:1px solid rgba(168,18,63,.16) !important;background:linear-gradient(90deg,rgba(168,18,63,.09),rgba(168,18,63,.04) 45%,rgba(201,162,39,.09)) !important;box-shadow:none !important;margin-bottom:20px;}.mk-sum-i{display:flex !important;align-items:baseline;gap:6px;border:0 !important;background:transparent !important;border-radius:0 !important;padding:2px 15px !important;border-left:1px solid rgba(168,18,63,.16) !important;}.mk-sum-i:first-child{border-left:0 !important;padding-left:4px !important;}.mk-sum-i::before{display:none !important;content:none !important;}.mk-sum-i span{color:#8A8378 !important;font-size:11px !important;display:inline !important;margin:0 !important;white-space:nowrap;}.mk-sum-i b{color:#A8123F !important;font-size:19px !important;display:inline !important;margin:0 !important;letter-spacing:.2px;white-space:nowrap;}.mk-sum-i em{color:#A0907C !important;font-size:10px !important;display:inline !important;margin:0 !important;white-space:nowrap;}html.force-m .mk-sum{padding:12px 14px !important;gap:8px 0 !important;}html.force-m .mk-sum-i{flex:1 1 46%;padding:4px 12px !important;}html.force-m .mk-sum-i:nth-child(odd){border-left:0 !important;padding-left:2px !important;}html.force-m .mk-sum-i b{font-size:17px !important;}.svc-grid{grid-template-columns:repeat(auto-fill,minmax(182px,1fr)) !important;gap:9px !important;}.svc-card{padding:9px !important;border-radius:12px !important;border-color:#E7DECE !important;}.svc-card-img{height:76px !important;border-radius:8px !important;margin-bottom:7px !important;}.svc-card-name{font-size:13px !important;gap:4px;flex-wrap:wrap;}.svc-card-name .badge{font-size:9.5px;padding:0 5px;}.svc-card-price{font-size:15px !important;}.svc-card-dur{font-size:11px !important;}.svc-card-comm{font-size:10.5px !important;padding:3px 6px !important;margin-top:5px !important;}.svc-card-ops{display:flex;gap:4px;margin-top:7px;}.svc-card-ops .btn{font-size:11px !important;padding:3px 7px !important;flex:1;}.svc-st{font-size:9.5px !important;padding:1px 5px !important;}@media (max-width:1400px){.svc-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr)) !important;}}#svc-mlist .m-row-l2{white-space:normal !important;overflow:visible !important;text-overflow:clip !important;line-height:1.5;}#svc-mlist .m-row{padding:10px 12px;}#svc-mlist .m-row-l1{flex-wrap:wrap;gap:4px;}.svc-mini-grp{margin-bottom:14px;}.svc-mini-hd{display:flex;align-items:baseline;gap:6px;margin:0 0 7px;}.svc-mini-hd i{width:3px;height:13px;border-radius:2px;background:var(--accent,#A8123F);align-self:center;}.svc-mini-hd b{font-size:13px;color:var(--ink);}.svc-mini-hd b.cat{font-size:12px;color:var(--ink-3,#6B655C);font-weight:500;}.svc-mini-hd .sep{color:#C9C2B4;font-size:11px;}.svc-mini-hd .cnt{margin-left:auto;font-size:11px;color:var(--muted,#8A8378);}.svc-grid-mini{grid-template-columns:repeat(auto-fill,minmax(132px,1fr)) !important;gap:8px !important;}.svc-mini{position:relative;border:1px solid #E7DECE;border-radius:10px;background:#fff;padding:6px;cursor:grab;transition:box-shadow .15s,transform .15s,border-color .15s;}.svc-mini:hover{border-color:rgba(168,18,63,.3);box-shadow:0 6px 14px rgba(31,33,30,.08);transform:translateY(-1px);}.svc-mini.dragging{opacity:.45;transform:scale(.97);cursor:grabbing;}.svc-mini.off{background:#FAF7F1;}.svc-mini-img{height:62px;border-radius:7px;background-size:cover;background-position:center;background-color:#F1E8D8;position:relative;}.svc-mini-st{position:absolute;right:4px;top:4px;font-size:9px;line-height:1;padding:2px 5px;border-radius:5px;background:rgba(107,101,92,.55);color:#fff;}.svc-mini-st.on{background:rgba(47,107,76,.85);}.svc-mini-name{font-size:12px;font-weight:600;color:var(--ink);margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.svc-mini-meta{display:flex;align-items:baseline;justify-content:space-between;gap:4px;margin-top:2px;}.svc-mini-meta b{font-size:13px;color:var(--accent,#A8123F);}.svc-mini-meta span{font-size:10px;color:var(--muted,#8A8378);}.svc-mini-comm{font-size:9.5px;color:#9A8F7C;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.svc-mini-ops{display:flex;gap:3px;margin-top:5px;opacity:.55;transition:opacity .15s;}.svc-mini:hover .svc-mini-ops{opacity:1;}.svc-mini-ops button{flex:1;font-size:10px;line-height:1.5;padding:1px 0;border-radius:5px;border:1px solid #E7DECE;background:#FCFAF5;color:#6B655C;cursor:pointer;}.svc-mini-ops button:hover{border-color:rgba(168,18,63,.35);color:var(--accent,#A8123F);}.svc-mini-ops button.del:hover{background:#FEF2F2;border-color:#FCA5A5;color:#8A0047;}.svc-mini-ops button.on{color:#2F6B4C;border-color:#BFE3CE;background:#F2FAF5;}.m-chip{border-radius:999px;padding:5px 13px;font-size:12.5px;border:1px solid var(--line,#E7DECE);background:#fff;color:#6B655C;cursor:pointer;}.m-chip.on{background:var(--accent,#A8123F);border-color:var(--accent,#A8123F);color:#fff;font-weight:600;}#svc-grid{display:block !important;}#svc-grid>.svc-mini-grp{width:100%;}.svc-grid-mini{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:8px;}#svc-grid{column-count:3;column-gap:16px;}#svc-grid>.svc-mini-grp{break-inside:avoid;margin-bottom:15px;}.svc-grid-mini{display:flex !important;flex-wrap:wrap;gap:8px !important;grid-template-columns:none !important;}.svc-mini{width:126px;}@media (max-width:1360px){#svc-grid{column-count:2;}}.svc-mini-comm.warn{color:#B45309;}#svc-grid{column-count:unset !important;column-gap:0 !important;display:block !important;}#svc-grid>.svc-mini-grp{break-inside:auto;}.svc-dept{margin-bottom:22px;}.svc-dept-hd{display:flex;align-items:baseline;gap:8px;padding:9px 14px;margin-bottom:12px;background:linear-gradient(90deg,#FBF5EA,#FDFBF7 70%);border-left:3px solid var(--accent,#A8123F);border-radius:0 10px 10px 0;}.svc-dept-hd b{font-size:15px;color:var(--ink);letter-spacing:.3px;}.svc-dept-hd span{font-size:11.5px;color:var(--muted,#8A8378);}.svc-catline{margin:0 0 12px;}.svc-catline-hd{display:flex;align-items:baseline;gap:6px;margin-bottom:7px;}.svc-catline-hd span{font-size:12px;color:var(--ink-3,#6B655C);font-weight:600;}.svc-catline-hd em{font-style:normal;font-size:10.5px;color:#A0907C;}.svc-catline-hd span::before{content:'▸ ';color:#C9C2B4;}.svc-grid-mini{display:flex !important;flex-wrap:wrap;gap:8px !important;}.svc-mini{width:126px;}.svc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}.svc-head-sub{font-size:12px;color:var(--muted,#8A8378);margin-left:10px;font-weight:400;}.svc-head-ops{display:flex;align-items:center;gap:8px;}.svc-add-wrap{position:relative;}.svc-add-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:40;background:#fff;border:1px solid var(--line,#E7DECE);border-radius:11px;box-shadow:0 12px 28px rgba(31,33,30,.14);padding:5px;min-width:148px;display:none;}.svc-add-menu.open{display:block;}.svc-add-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px 11px;border-radius:8px;font-size:13px;color:var(--ink2,#3A3D38);cursor:pointer;}.svc-add-menu button:hover{background:#FBF5EA;color:var(--accent,#A8123F);}.svc-dept-hd{flex-wrap:wrap;row-gap:8px;}.svc-catchips{display:flex;gap:6px;flex-wrap:wrap;width:100%;margin-top:2px;}.svc-catchip{font-size:11.5px;line-height:1;padding:5px 11px;border-radius:999px;border:1px solid #EADFCB;background:#fff;color:#7C7468;cursor:pointer;transition:background .15s,color .15s,border-color .15s;}.svc-catchip:hover{border-color:rgba(168,18,63,.32);color:var(--accent,#A8123F);}.svc-catchip.on{background:var(--accent,#A8123F);border-color:var(--accent,#A8123F);color:#fff;font-weight:600;}.svc-empty-cat{font-size:12px;color:var(--muted,#8A8378);padding:14px 4px;}.svc-img-prev{position:relative;}.svc-img-prev.empty{background-image:none !important;background:#FBF7EF;border:1.5px dashed #DCCEB6;display:flex;align-items:center;justify-content:center;}.svc-img-prev.empty span{font-size:11px;color:#A0907C;}.modal-mask .modal-foot .btn-teal,.modal-mask .btn-teal{background:var(--accent,#A8123F);border-color:var(--accent,#A8123F);color:#fff;}.svc-mini-stock{font-size:9.5px;color:#2F6B4C;background:#F0F9F3;border-radius:5px;padding:1px 5px;display:inline-block;margin-top:4px;}.svc-mini-stock.low{color:#8A0047;background:#FEF2F2;}html.force-m .modal-mask .sf-card{display:block !important;padding:12px !important;}html.force-m .modal-mask .sf-card-av{width:100% !important;display:grid !important;grid-template-columns:84px 1fr;gap:10px 12px;align-items:center;border-right:0 !important;padding-right:0 !important;margin-bottom:12px;border-bottom:1px dashed #F1E9DC;padding-bottom:12px;}html.force-m .modal-mask .sf-card-av .mf-avatar-lg{width:84px !important;height:84px !important;margin:0 !important;}html.force-m .modal-mask .sf-card-av>div:nth-child(2){justify-content:flex-start !important;margin:0 !important;}html.force-m .modal-mask .mf-lv-card{grid-column:1 / -1;margin:0 !important;justify-content:flex-start !important;}html.force-m .modal-mask .mf-lv-card img{width:132px !important;}html.force-m .modal-mask .sf-card-info{padding:0 !important;display:block !important;}html.force-m .modal-mask .sf-card-info .field,html.force-m .modal-mask .sf-card-info>.field{display:block !important;max-width:none !important;margin-bottom:10px !important;}html.force-m .modal-mask .sf-card-info .field label{display:block !important;width:auto !important;text-align:left !important;font-size:12.5px !important;color:#6B655C !important;margin:0 0 4px 0 !important;white-space:normal !important;}html.force-m .modal-mask .sf-card-info .field>.input,html.force-m .modal-mask .sf-card-info .field>.select{width:100% !important;max-width:none !important;flex:none !important;}html.force-m .modal-mask .mf-grid2-ns,html.force-m .modal-mask .mf-grid2,html.force-m .modal-mask .mf-row-cd,html.force-m .modal-mask .mf-row-bj{display:block !important;max-width:none !important;width:100% !important;}html.force-m .modal-mask .mf-row-cd .field:first-child{flex:none !important;}html.force-m .modal-mask .mf-row-cd .field{display:block !important;margin-bottom:10px !important;}html.force-m .modal-mask .mf-row-cd label{width:auto !important;text-align:left !important;}html.force-m .modal-mask .mf-dept-wrap{width:100% !important;}html.force-m .modal-mask .mf-dept-btn{width:100% !important;text-align:left;}html.force-m .modal-mask .mf-dept-pop{width:100% !important;min-width:0 !important;}html.force-m .modal-mask .mf-row-bj{row-gap:12px;}html.force-m .modal-mask .mf-row-bj .field{height:auto !important;}html.force-m .modal-mask .mf-row-bj .textarea{min-height:76px;}html.force-m .modal-mask .mf-join{width:100% !important;}html.force-m .modal-mask .mf-join-qr{width:92px !important;height:92px !important;}html.force-m .modal-mask .field .textarea{width:100%;}html.force-m .mf-lv-face{width:122px !important;padding:6px 7px !important;}html.force-m .mf-lv-face .mlc-top{display:flex;gap:4px;overflow:hidden;}html.force-m .mf-lv-face .mlc-top span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}html.force-m .mf-lv-face .mlc-top span:first-child{flex:1 1 auto;min-width:0;}html.force-m .mf-lv-face .mlc-top span:last-child{flex:0 1 auto;max-width:46px;font-size:9px !important;}.mf-lv-face{overflow:hidden;}html.force-m .mfg{display:block;}html.force-m .mfg-av{display:flex;align-items:center;gap:14px;margin-bottom:14px;}html.force-m .mfg-av .mf-avatar-lg{width:76px !important;height:76px !important;margin:0 !important;}html.force-m .mfg-av-btns{display:flex;flex-direction:column;gap:6px;}html.force-m .mfg-av-btns .btn{padding:4px 12px;}html.force-m .mfg-seg{display:flex;gap:8px;margin-bottom:14px;}html.force-m .mfg-seg button{flex:1;height:44px;border-radius:11px;border:1px solid #E2D6C2;background:#fff;font-size:15px;color:var(--ink2,#3A3D38);cursor:pointer;transition:.15s;}html.force-m .mfg-seg button.on{background:var(--accent,#A8123F);border-color:var(--accent,#A8123F);color:#fff;font-weight:700;}html.force-m .mfg .fld{margin-bottom:12px;}html.force-m .mfg .fld>label{display:block;font-size:12px;color:var(--muted,#8A8378);margin-bottom:5px;}html.force-m .mfg .fld>.input,html.force-m .mfg .fld>.select,html.force-m .mfg .fld>.textarea{width:100% !important;max-width:none !important;box-sizing:border-box;}html.force-m .mfg .textarea{min-height:72px;}html.force-m .mfg .mf-dept-wrap,html.force-m .mfg .mf-dept-btn{width:100% !important;}html.force-m .mfg .mf-dept-btn{text-align:left;height:44px;line-height:42px;font-size:14px;}html.force-m .mfg-block{background:#FCFAF5;border:1px solid #F1E9DC;border-radius:13px;padding:12px 13px;margin-bottom:14px;}html.force-m .mfg-block-t{font-size:12px;color:var(--accent,#A8123F);font-weight:600;margin-bottom:9px;}html.force-m .mfg-check{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink2,#3A3D38);margin-top:4px;}html.force-m .mfg-check input{width:16px;height:16px;accent-color:var(--accent,#A8123F);}html.force-m .mfg-scan{margin:4px 0 6px;}html.force-m .mfg-scan-t{width:100%;border:0;background:none;color:var(--accent,#A8123F);font-size:12.5px;padding:8px 0;text-align:left;cursor:pointer;}html.force-m .mfg-scan-b{display:flex;align-items:center;gap:10px;padding:8px 0;}html.force-m .mfg-scan-b img{width:92px;height:92px;border-radius:8px;}html.force-m .mfg-scan-b span{font-size:11.5px;color:var(--muted,#8A8378);line-height:1.6;}html.force-m .mfg-row{display:flex !important;gap:10px;align-items:flex-end;}html.force-m .mfg-row .fld{margin-bottom:12px;}html.force-m .mfg-seg{display:flex;gap:6px;height:44px;}html.force-m .mfg-seg button{flex:1;height:44px;border-radius:10px;border:1px solid #E2D6C2;background:#FAF7F1;color:#7C7468;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s,color .15s,border-color .15s;}html.force-m .mfg-seg button.on{background:#3A3D38;border-color:#3A3D38;color:#fff;font-weight:600;}html.force-m .mfg-row .mf-dept-btn{height:44px;line-height:42px;}.mcard-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;display:block;border:1px solid #EADFCB;background:#F6EFE4;}.m-mem-av .mcard-avatar{width:40px;height:40px;}td .mcard-avatar{display:inline-block;}html.force-m .mfg .input,html.force-m .mfg .select,html.force-m .mfg .textarea,html.force-m .mfg .mf-dept-btn{height:44px !important;min-height:44px;border:1px solid #E2D6C2 !important;border-radius:10px !important;background:#fff !important;font-size:14px !important;padding:0 12px !important;box-sizing:border-box;line-height:42px !important;-webkit-appearance:none;appearance:none;}html.force-m .mfg .select{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%238A8378' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>") !important;background-repeat:no-repeat !important;background-position:right 12px center !important;padding-right:30px !important;}html.force-m .mfg .textarea{height:auto !important;min-height:70px;line-height:1.6 !important;padding:10px 12px !important;}html.force-m .mfg input[type="date"]{width:100% !important;min-width:0 !important;display:block;}html.force-m .mfg input[type="date"]::-webkit-calendar-picker-indicator{opacity:.55;}html.force-m .mfg-row{display:grid !important;gap:10px;align-items:end;}html.force-m .mfg-row.r1{grid-template-columns:minmax(0,1fr) 108px;}html.force-m .mfg-row.r2{grid-template-columns:118px minmax(0,1fr);}html.force-m .mfg-row.r3{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}html.force-m .mfg-row>.fld{margin-bottom:12px;min-width:0;}html.force-m .mfg-seg{display:flex !important;gap:6px;height:44px;}html.force-m .mfg-seg button{flex:1 1 0;min-width:0;height:44px !important;border:1px solid #E2D6C2 !important;border-radius:10px !important;background:#fff !important;color:#7C7468 !important;font-size:14px !important;font-weight:500;cursor:pointer;padding:0 !important;line-height:42px;}html.force-m .mfg-seg button.on{background:#3A3D38 !important;border-color:#3A3D38 !important;color:#fff !important;font-weight:600;}html.force-m .mfg-row{align-items:start !important;}html.force-m .mfg-row>.fld>label{display:block !important;height:16px !important;line-height:16px !important;margin:0 0 6px 0 !important;font-size:12px !important;color:#8A8378 !important;}html.force-m .mfg-row>.fld{align-self:start;}.input,.select,.textarea{border:1px solid #DED3C1 !important;border-radius:10px !important;background:#fff !important;font-size:13.5px;min-height:36px;box-sizing:border-box;}.input,.select{height:36px;padding:0 11px !important;}.textarea{padding:9px 11px !important;}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent,#A8123F) !important;box-shadow:0 0 0 3px rgba(168,18,63,.10) !important;}.chip,.m-chip,.m-badge-chip,.mem-fchip{border:1px solid #E2D6C2 !important;border-radius:10px !important;background:#fff !important;color:#6B655C !important;font-size:12.5px !important;height:32px;line-height:30px;padding:0 13px !important;display:inline-flex;align-items:center;gap:4px;}.chip.active,.m-chip.on,.mem-fchip.on{background:var(--accent,#A8123F) !important;border-color:var(--accent,#A8123F) !important;color:#fff !important;font-weight:600;}.chip-takeout{border-color:#E2D6C2 !important;color:#6B655C !important;background:#fff !important;}.chip-takeout.active{background:var(--accent,#A8123F) !important;border-color:var(--accent,#A8123F) !important;color:#fff !important;}.btn-ghost{border-radius:10px !important;border:1px solid #E2D6C2 !important;background:#fff !important;color:#3A3D38 !important;box-shadow:none !important;text-shadow:none !important;}.btn-ghost:hover{border-color:rgba(168,18,63,.35) !important;color:var(--accent,#A8123F) !important;}.btn-red,.btn-primary,.btn-teal{border-radius:10px !important;}html.force-m .input,html.force-m .select{height:46px !important;font-size:15px !important;}html.force-m .textarea{font-size:15px !important;}html.force-m .chip,html.force-m .m-chip{height:34px;line-height:32px;font-size:13px !important;}html.force-m .ms-grid{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:8px !important;margin-bottom:12px !important;}html.force-m .ms-grid>*{border-radius:12px !important;padding:10px 11px !important;min-height:0 !important;}html.force-m .ms-grid>* .ms-lb,html.force-m .ms-grid>*>div:first-child{font-size:11px !important;opacity:.9;}html.force-m .ms-grid>* .ms-val,html.force-m .ms-grid>*>div:nth-child(2){font-size:17px !important;line-height:1.25 !important;margin:2px 0 3px !important;}html.force-m .ms-grid>* .ms-sub,html.force-m .ms-grid>*>div:nth-child(3){font-size:9.5px !important;opacity:.72;line-height:1.35 !important;}html.force-m .mem-toolbar{margin-bottom:8px !important;}html.force-m .mem-tb-left{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}html.force-m .mem-sortwrap{position:relative;margin-left:auto;}html.force-m .mem-sortchip{height:32px;padding:0 12px;border-radius:10px;border:1px solid #E2D6C2;background:#fff;color:#6B655C;font-size:12.5px;cursor:pointer;}html.force-m .mem-sortmenu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;background:#fff;border:1px solid #E7DECE;border-radius:11px;padding:5px;box-shadow:0 12px 26px rgba(31,33,30,.14);min-width:118px;display:none;}html.force-m .mem-sortmenu.open{display:block;}html.force-m .mem-sortmenu button{display:block;width:100%;text-align:left;border:0;background:none;padding:8px 10px;border-radius:8px;font-size:13px;color:#3A3D38;}html.force-m .mem-sortmenu button:hover{background:#FBF5EA;color:var(--accent,#A8123F);}html.force-m .mem-search2{display:flex;gap:8px;align-items:center;margin-bottom:12px;}html.force-m .mem-search2 .mem-swrap{flex:1;min-width:0;position:relative;}html.force-m .mem-search2 .input{width:100%;height:40px !important;}html.force-m .mem-search2 .btn{height:40px;}html.force-m .ms-grid>*{background-image:none !important;filter:none;}html.force-m .ms-grid>*>div:nth-child(3),html.force-m .ms-grid>* .ms-sub{display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical;overflow:hidden;max-height:2.7em;}html.force-m .ms-grid>*{padding:9px 10px !important;}html.force-m .ms-grid>*>div:nth-child(2),html.force-m .ms-grid>* .ms-val{font-size:16.5px !important;}html.force-m .mem-tb-left{display:flex !important;flex-wrap:nowrap !important;align-items:center;gap:7px;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;scrollbar-width:none;-ms-overflow-style:none;}html.force-m .mem-tb-left::-webkit-scrollbar{display:none;}html.force-m .mem-tb-left .mem-fchip{flex:0 0 auto;}html.force-m .mem-sortwrap{position:sticky;right:0;margin-left:auto;flex:0 0 auto;background:#F4F6FA;padding-left:6px;}html.force-m .ms-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;}html.force-m .ms-grid .ms-card{padding:9px 10px !important;border-radius:12px !important;min-height:0 !important;box-shadow:0 2px 6px rgba(31,33,30,.06) !important;}html.force-m .ms-grid .ms-card>span{font-size:10.5px !important;opacity:.85;line-height:1.3;display:block;}html.force-m .ms-grid .ms-card>b{font-size:17px !important;line-height:1.3 !important;margin:3px 0 2px !important;display:block;}html.force-m .ms-grid .ms-card>i{font-style:normal;font-size:9.5px !important;opacity:.7;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}html.force-m .ms-grid .ms-card>i.one-line{-webkit-line-clamp:1;}html.force-m .ms-grid .ms-card{color:#fff !important;box-shadow:0 6px 16px rgba(15,23,42,.16) !important;position:relative;overflow:hidden;}html.force-m .ms-grid .ms-card.ms-b1{background:linear-gradient(135deg,#2563eb,#1e3a8a) !important;}html.force-m .ms-grid .ms-card.ms-b2{background:linear-gradient(135deg,#0d9488,#134e4a) !important;}html.force-m .ms-grid .ms-card.ms-b3{background:linear-gradient(135deg,#d97706,#7c2d12) !important;}html.force-m .ms-grid .ms-card>span{color:rgba(255,255,255,.92) !important;opacity:1 !important;}html.force-m .ms-grid .ms-card>b{color:#fff !important;}html.force-m .ms-grid .ms-card>i{color:rgba(255,255,255,.82) !important;opacity:1 !important;}html.force-m .ms-grid .ms-card::after{content:'';position:absolute;right:-28px;top:-28px;width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.14);display:block !important;}html.force-m .mem-toolbar{display:flex !important;align-items:center;gap:8px;margin-bottom:8px !important;}html.force-m .mem-tb-left{flex:1 1 auto;min-width:0;display:flex !important;flex-wrap:nowrap !important;align-items:center;gap:7px;overflow-x:auto;overflow-y:visible;padding-bottom:2px;scrollbar-width:none;-ms-overflow-style:none;}html.force-m .mem-tb-left::-webkit-scrollbar{display:none;}html.force-m .mem-sortwrap{position:relative;flex:0 0 auto;margin:0;padding:0;background:none;}html.force-m .mem-sortmenu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;background:#fff;border:1px solid #E7DECE;border-radius:11px;padding:5px;box-shadow:0 12px 26px rgba(31,33,30,.18);min-width:120px;display:none;}html.force-m .mem-sortmenu.open{display:block !important;}html.force-m .mem-toolbar{flex-wrap:nowrap !important;}html.force-m .mem-toolbar .mem-tb-left{max-width:calc(100% - 96px);}

/* ===== 员工管理 v822：统计条 + 分组列表（电脑/手机同一套 DOM） ===== */
.sg-head{margin-bottom:14px}
.sg-head-acts{display:flex;gap:10px}
.sg-stats{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.06);margin-bottom:14px;overflow:hidden}
.sg-stat{padding:12px 16px;border-right:1px solid #f1f3f6}
.sg-stat:last-child{border-right:none}
.sg-stat .sg-k{font-size:11.5px;color:var(--ink-3);margin-bottom:2px;line-height:1.4}
.sg-stat .sg-v{font-size:19px;font-weight:750;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.35}
.sg-stat .sg-v small{font-size:11.5px;font-weight:600;color:var(--ink-3);margin-left:3px}
.sg-stat .sg-v.warn{color:var(--warn)}

.sg-tools{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.sg-search{width:250px;height:36px;flex:none}
.sg-chips{display:flex;gap:7px;flex-wrap:wrap}
.sg-chip{height:34px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink-2);font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:all .15s}
.sg-chip i{font-style:normal;font-size:11.5px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.sg-chip.on{background:linear-gradient(135deg,#FF2D8A,#B3005C);border-color:#D6006E;color:#fff;box-shadow:0 3px 10px rgba(214,0,110,.26)}
.sg-chip.on i{color:rgba(255,255,255,.8)}
.sg-seg{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;margin-left:auto}
.sg-seg button{padding:0 12px;height:34px;font-size:12.5px;color:var(--ink-3);background:none;border:none;border-right:1px solid #f1f3f6;cursor:pointer;font-family:inherit}
.sg-seg button:last-child{border-right:none}
.sg-seg button.on{background:#FFF0F6;color:#B3005C;font-weight:700}

.sg-group{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.06);margin-bottom:12px;overflow:hidden}
.sg-ghead{display:flex;align-items:center;gap:9px;padding:11px 18px;background:#fbfcfd;border-bottom:1px solid #f1f3f6}
.sg-dot{width:7px;height:7px;border-radius:50%;flex:none}
.sg-gname{font-size:13px;font-weight:700}
.sg-gcount{font-size:11.5px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.sg-gsum{margin-left:auto;font-size:11.5px;color:var(--ink-3)}
.sg-gsum b{color:var(--ink-2);font-weight:600;font-variant-numeric:tabular-nums}

.sg-row{display:grid;grid-template-columns:228px 1fr 118px;align-items:center;gap:16px;padding:10px 18px;border-bottom:1px solid #f1f3f6;transition:background .15s}
.sg-row:last-child{border-bottom:none}
.sg-row:hover{background:#fafbfc}
.sg-row.off{opacity:.55}
.sg-row.off:hover{opacity:.85}
.sg-who{display:flex;align-items:center;gap:11px;min-width:0}
.sg-av{width:40px;height:40px;border-radius:50%;flex:none;overflow:hidden;display:block;background:#eef1f5}
.sg-av .av-img{width:100%;height:100%;object-fit:cover;display:block}
.sg-av .av-fallback{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#FFF0F6;color:#B3005C;border-radius:50%}
.sg-av .av-fallback b{font-size:13px;line-height:1.15}
.sg-av .av-fallback i{font-size:8px;font-style:normal;opacity:.75;line-height:1.15}
.sg-main{min-width:0}
.sg-l1{display:flex;align-items:center;gap:7px}
.sg-nm{font-size:14.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-st{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;white-space:nowrap}
.sg-st i{width:6px;height:6px;border-radius:50%;display:block}
.sg-st.on{color:#15803d}
.sg-st.on i{background:#16a34a}
.sg-st.leave{color:var(--warn)}
.sg-st.leave i{background:var(--warn)}
.sg-st.off{color:var(--ink-3)}
.sg-st.off i{background:#cbd5e1}
.sg-l2{margin-top:1px}
.sg-pos{font-size:11.5px;font-weight:600;color:var(--ink-2);background:#f3f5f8;border-radius:5px;padding:1px 6px}
.sg-pos.none{color:var(--ink-3);font-weight:500;background:#f7f8fa}

.sg-meta{display:grid;grid-template-columns:70px 90px minmax(118px,1fr) 92px 84px;gap:0 10px;align-items:center;min-width:0}
.sg-f{display:flex;flex-direction:column;min-width:0}
.sg-f .sg-k{font-size:11px;color:var(--ink-3);line-height:1.45}
.sg-f .sg-v{font-size:12.5px;color:var(--ink-2);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.45}
.sg-f .sg-v.mute{color:var(--ink-3);font-weight:500}
.sg-cm{display:flex;gap:5px;align-items:center;flex-wrap:wrap;row-gap:2px}
.sg-tag{font-size:11px;font-weight:600;border-radius:5px;padding:1px 6px;white-space:nowrap;font-variant-numeric:tabular-nums}
.sg-tag.rate{background:#f3f5f8;color:var(--ink-2)}
.sg-tag.des{background:#f0fdfa;color:#0f766e}
.sg-tag.none{background:#f7f8fa;color:#a3acb9}
.sg-key{font-size:11.5px;color:#16a34a;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-key.no{color:#b9c2cf;font-weight:500}

.sg-acts{display:flex;gap:6px;justify-content:flex-end}
.sg-icobtn{width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink-3);font-size:15px;line-height:1;display:grid;place-items:center;cursor:pointer}
.sg-icobtn:hover{border-color:#d5dbe3;color:var(--ink)}

.sg-empty{background:#fff;border:1px solid var(--line);border-radius:12px;padding:38px 16px;text-align:center;color:var(--ink-3)}
.sg-empty-ico{font-size:26px;opacity:.35;margin-bottom:6px}

.sg-menu{position:fixed;z-index:1200;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 32px rgba(15,23,42,.16);padding:5px;display:flex;flex-direction:column}
.sg-menu button{display:flex;align-items:center;gap:6px;width:100%;text-align:left;padding:9px 10px;border-radius:7px;font-size:13px;color:var(--ink-2);background:none;border:none;cursor:pointer;font-family:inherit}
.sg-menu button:hover{background:#f5f7f9}
.sg-menu button.danger{color:var(--danger)}
.sg-menu button.danger:hover{background:#fef2f2}

.sg-addbar{display:none}

@media (max-width:1080px){
  .sg-head,html.force-m .sg-head{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:8px;padding-top:calc(22px + env(safe-area-inset-top,0px));margin-top:0;margin-bottom:12px}
  .sg-head .page-title{font-size:18px;white-space:nowrap}
  .sg-head-acts,html.force-m .sg-head>div:last-child{margin-left:auto;flex-wrap:nowrap;gap:6px}
  .sg-head-acts .btn{padding:6px 10px;font-size:12px;height:32px;box-shadow:none}
  .sg-stats{grid-template-columns:repeat(3,1fr)}
  .sg-stat{padding:10px 12px}
  .sg-stat:nth-child(4),.sg-stat:nth-child(5){display:none}
  .sg-stat .sg-k{font-size:11px}
  .sg-stat .sg-v{font-size:16px}
  .sg-tools{gap:8px;margin-bottom:10px}
  .sg-search{width:100%;order:3}
  .sg-chips{order:1;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
  .sg-chip{flex:none}
  .sg-seg{order:2;margin-left:0}
  .sg-row{grid-template-columns:1fr auto;grid-template-areas:"who acts" "meta meta";gap:1px 8px;padding:11px 13px;align-items:center}
  .sg-who{grid-area:who}
  .sg-acts{grid-area:acts;align-self:center;gap:5px}
  .sg-av{width:38px;height:38px}
  .sg-meta{grid-area:meta;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 12px;padding-left:49px;margin-top:3px}
  .sg-f{flex-direction:row;align-items:baseline;gap:3px}
  .sg-f .sg-k{font-size:11px;color:#a3acb9}
  .sg-f .sg-v{font-size:12px}
  .sg-cm{gap:4px}
  .sg-tag{font-size:10.5px;padding:0 5px}
  .sg-ghead{padding:9px 13px}
  .sg-gsum{display:none}
  .sg-tag.none{background:#f7f8fa;color:#a3acb9}
  /* 底部固定导航（约 62px + 手势条）会盖住最后一行，留出安全距离 */
  #staff-groups{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}

/* ===== 员工管理 v828：排序 / 批量 / 详情 ===== */
.sg-sort{width:auto;min-width:140px;height:36px;flex:none;font-size:12.5px}
.sg-mob{display:none}
.sg-batchbar{display:flex;align-items:center;gap:10px;padding:9px 14px;margin-bottom:10px;background:#fff7f8;border:1px solid #fbd5dc;border-radius:10px;font-size:13px;color:var(--ink-2)}
.sg-bt-txt b{color:#B3005C}
.sg-batchbar .btn-sm{padding:6px 12px}
.sg-batchbar #staff-batch-cancel{margin-left:auto}
.sg-cb{width:16px;height:16px;flex:none;accent-color:#D6006E;cursor:pointer}

.sd-head{display:flex;gap:14px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}
.sd-scroll{max-height:min(64vh,640px);overflow-y:auto;padding-right:6px}
.sd-av{width:62px;height:62px;border-radius:50%;overflow:hidden;flex:none;background:#eef1f5;display:block}
.sd-av .av-img{width:100%;height:100%;object-fit:cover;display:block}
.sd-av .av-fallback{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#FFF0F6;color:#B3005C;border-radius:50%}
.sd-av .av-fallback b{font-size:17px;line-height:1.15}
.sd-av .av-fallback i{font-size:9px;font-style:normal;opacity:.75;line-height:1.15}
.sd-main{min-width:0;flex:1}
.sd-l1{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sd-name{font-size:18px;font-weight:800;letter-spacing:-.01em}
.sd-l2{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px;font-size:12.5px;color:var(--ink-3)}
.sd-l3{display:flex;flex-wrap:wrap;gap:12px;margin-top:5px;font-size:12px;color:var(--ink-3)}
.sd-l3 b{color:var(--ink-2);font-weight:600}
.sd-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0 2px}
.sd-stat{background:#fafbfc;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.sd-stat span{display:block;font-size:11.5px;color:var(--ink-3)}
.sd-stat b{display:block;font-size:17px;font-weight:750;margin-top:2px;font-variant-numeric:tabular-nums}
.sd-stat b.teal{color:var(--teal)}
.sd-sec{margin:16px 0 8px;font-size:13px;font-weight:700;color:var(--ink-2);display:flex;align-items:center;gap:8px}
.sd-sec::before{content:'';width:3px;height:13px;border-radius:2px;background:linear-gradient(180deg,#e9c880,#8a6a1a)}
.sd-sec-tip{font-size:11.5px;font-weight:500;color:var(--ink-3)}
.sd-table{max-height:220px;overflow-y:auto;border:1px solid var(--line);border-radius:10px}
.sd-table .table th{position:sticky;top:0;background:#fbfcfd;z-index:1}

@media (max-width:1080px){
  .sg-desk{display:none}
  .sg-mob{display:inline-flex}
  .sg-sort{display:none}
  .sg-batchbar{position:sticky;top:0;z-index:6}
  .sd-head{gap:11px}
  .sd-av{width:52px;height:52px}
  .sd-name{font-size:16px}
  .sd-stats{grid-template-columns:repeat(2,1fr)}
  .sd-l2,.sd-l3{gap:8px;font-size:12px}
  .sd-table{max-height:200px}
}

/* ===== 首页头部 v851：按钮移出图片，图片只留店名+搜索 ===== */
html.force-m .home-hero{background:linear-gradient(180deg,rgba(9,22,15,.34) 0%,rgba(9,22,15,.12) 38%,rgba(9,22,15,.34) 72%,rgba(8,20,13,.62) 100%),url('../img/home-hero-bg.png') center 18% / cover no-repeat;}
html.force-m .home-hero{padding:calc(44px + env(safe-area-inset-top,0px)) 20px 85px;box-shadow:none;border-radius:0;position:relative;}
html.force-m .home-hero .hh-top{margin-top:0;margin-bottom:9px;}
html.force-m .home-hero .hh-store{font-size:19.5px;}
html.force-m .home-hero .hh-foot{font-size:10.5px;}
html.force-m .home-hero .hh-search{max-width:100%;margin:13px auto 0;}
html.force-m .home-hero .hh-search input{height:40px;font-size:13px;border-radius:12px;}
html.force-m .home-hero .hh-search .hh-scan{width:33px;height:33px;border-radius:10px;}
html.force-m .home-hero::after{display:none;}
html.force-m .home-hero > *{position:relative;z-index:1;}
html.force-m .home-body{border-radius:0;margin-top:0;padding-top:21px;box-shadow:none;}

/* ===== 员工详情 v831：两栏 + tab ===== */
.sd-l1{gap:8px}
.sd-l2 span{white-space:nowrap}
.sd-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:14px;align-items:start;margin-top:4px}
.sd-col-main,.sd-col-side{min-width:0}
.sd-col-main .sd-sec:first-child,.sd-col-side .sd-sec:first-child{margin-top:6px}
.sd-col-main .sd-table,.sd-pane .sd-table{max-height:none}
.sd-kv{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.sd-kv>div{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #f1f3f6;font-size:12.5px}
.sd-kv>div:last-child{border-bottom:none}
.sd-kv span{color:var(--ink-3);flex:none}
.sd-kv b{font-weight:600;color:var(--ink-2);text-align:right;word-break:break-all}
.sd-tabs{display:flex;gap:4px;margin:18px 0 8px;border-bottom:1px solid var(--line)}
.sd-tabs button{height:34px;padding:0 13px;font-size:13px;color:var(--ink-3);background:none;border:none;
  border-bottom:2px solid transparent;cursor:pointer;font-family:inherit;margin-bottom:-1px}
.sd-tabs button:hover{color:var(--ink-2)}
.sd-tabs button.on{color:#B3005C;border-bottom-color:#D6006E;font-weight:700}

.sd-empty{text-align:center;color:var(--ink-3);padding:16px}
.table tfoot td{background:#fbfcfd;border-top:1px solid var(--line);font-size:12.5px}

/* ===== 员工表单 v831：分组 + 标签在上 ===== */
.sf2-body{max-height:min(calc(100vh - 262px), 600px);overflow-y:auto;padding-right:5px}
.sf2-top{display:flex;gap:16px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid var(--line)}
.sf2-av{flex:none;width:132px;text-align:center}
.sf2-av-box{width:132px;height:158px;border-radius:12px;overflow:hidden;background:#f4f6f8;
  border:1px solid var(--line);display:grid;place-items:center}
.sf2-av-box img{width:100%;height:100%;object-fit:cover;display:block}
.sf2-av-box .sf-ph-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.sf2-av-box .sf-ph-empty svg{width:34px;height:34px;opacity:.5}
.sf2-av-box .sf-ph-empty i{font-style:normal;font-size:11px;color:var(--ink-3)}
.sf2-av-btns{display:flex;gap:5px;justify-content:center;margin-top:8px;flex-wrap:wrap}
.sf2-av-btns .btn{padding:4px 7px;font-size:11.5px;line-height:1.2;white-space:nowrap}
.sf2-av-tip{font-size:10.5px;color:var(--ink-3);margin-top:6px}
.sf2-top-fields{flex:1;min-width:0}
.sf2-top-fields .form-row{margin-bottom:8px}
.sf2-sec{margin:16px 0 8px;font-size:13px;font-weight:700;color:var(--ink-2);display:flex;align-items:center;gap:8px}
.sf2-sec::before{content:'';width:3px;height:13px;border-radius:2px;background:linear-gradient(180deg,#e9c880,#8a6a1a)}
.sf2-inline{display:flex;gap:8px;align-items:center}
.sf2-inline .input{flex:1;min-width:0}
.sf2-file{flex:none;display:inline-flex;align-items:center;height:36px}
.sf2-cx{display:flex;gap:8px}
.sf2-cx .select{flex:0 0 132px;min-width:0}
.sf2-cx .input{flex:1;min-width:0}
.sf2-hint{font-size:11.5px;color:var(--ink-3);line-height:1.6;padding-top:26px}

@media (max-width:1080px){
  .sd-grid{grid-template-columns:1fr;gap:10px}
  .sd-col-main .sd-table{max-height:220px}
  .sf2-top{flex-direction:column;align-items:center}
  .sf2-body{max-height:calc(100vh - 400px)}
  .sf2-av-box{width:88px;height:112px}
  .sf2-top-fields{width:100%}
  .sf2-cx .select{flex:0 0 116px}
  .sf2-hint{padding-top:0}
  .sf2-file{height:34px;padding:0 8px;font-size:12px}
}

.sf2-actions{display:flex;gap:8px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}

.sd-sum{margin-top:8px;text-align:right;font-size:12.5px;color:var(--ink-3)}
.sd-sum b{color:var(--teal);font-size:14px;font-weight:800}


/* ===== 头像选择器 v841b：所有头像（含「默认」）统一成同样大小的方形 ===== */
.avatar-opt-grid.sq{grid-template-columns:repeat(4,1fr) !important;gap:10px;margin-top:10px}
.avatar-opt-grid.sq .avatar-opt{position:relative;width:100%;aspect-ratio:1/1;padding:0;border-radius:12px;
  display:block;overflow:hidden;background:#f4f6f8;transition:transform .15s}
.avatar-opt-grid.sq .avatar-opt:hover{transform:translateY(-2px)}
.avatar-opt-grid.sq .avatar-opt.active{border-color:#D6006E;box-shadow:0 0 0 2px #FFE8F2}
.avatar-opt-grid.sq .avatar-opt > *{position:absolute;inset:0;width:auto;height:auto;max-width:none;max-height:none}
.avatar-opt-grid.sq .avatar-opt .staff-avatar{display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:20px}
.avatar-opt-grid.sq .avatar-opt .staff-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-opt-grid.sq .avatar-opt .sf-ph-empty.opt{aspect-ratio:auto !important;border:1px dashed #c2cad6;border-radius:10px;background:#f1f4f8;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#98a2b3}
.avatar-opt-grid.sq .avatar-opt .sf-ph-empty.opt svg{width:26px;height:26px;margin:0;position:static;inset:auto}
.avatar-opt-grid.sq .avatar-opt .sf-ph-empty.opt i{font-size:11.5px;line-height:1.2;position:static;inset:auto}


/* v850 去掉头部与内容之间的阴影和缝隙 */
html.force-m .home-hero.home-hero{box-shadow:none !important;margin-bottom:0 !important;border-radius:0 !important}
html.force-m .home-body.home-body{margin-top:0 !important}

/* ===== 首页网格 v852：更干净的白卡与节奏 ===== */
html.force-m .home-body{padding-left:16px;padding-right:16px;}
html.force-m .hm-group{background:#fff;border:1px solid #eef1f5;border-radius:20px;
  box-shadow:0 12px 28px -24px rgba(15,23,42,.55);padding:15px 12px 10px;margin-bottom:12px;}
html.force-m .hm-title{font-size:13.5px;font-weight:800;letter-spacing:.4px;color:#1f3a2c;
  margin:0 4px 12px;padding-left:11px;}
html.force-m .hm-title::before{width:3px;height:13px;border-radius:2px;
  background:linear-gradient(180deg,#e9c880,#8a6a1a);}
html.force-m .hm-grid{gap:16px 6px;}
html.force-m .hm-cell{padding:4px 2px 2px;gap:6px;}
html.force-m .hm-cell .hm-ico{width:44px;height:44px;border-radius:14px;filter:saturate(.9);
  box-shadow:0 8px 16px -12px rgba(15,23,42,.85),inset 0 1px 0 rgba(255,255,255,.42);
  transition:transform .16s ease;}
html.force-m .hm-cell .hm-ico svg{width:22px;height:22px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.12));}
html.force-m .hm-cell .tx{font-size:11.5px;color:#3b4a42;letter-spacing:.1px;margin-top:1px;}
html.force-m .hm-cell:active .hm-ico{transform:scale(.94);}
html.force-m .home-tail{font-size:11px;color:#b3bcc4;letter-spacing:.3px;}

/* ===== v856 首页按钮：桌面留在图内，手机用图下卡片 ===== */
.hh-acts{display:none;}
html.force-m .hh-main{display:none !important;}
html.force-m .hh-acts{display:flex;}

/* ===== 首页头部 v870：搜索框跨在接缝上，去掉顶部按钮 ===== */
html.force-m .home-hero{padding:calc(84px + env(safe-area-inset-top,0px)) 20px 111px;box-shadow:none;border-radius:0;position:relative;}
html.force-m .home-hero .hh-top{margin-top:0;margin-bottom:8px;}
html.force-m .home-hero .hh-store{font-size:20px;}
html.force-m .home-hero .hh-foot{font-size:10.5px;}
html.force-m .hh-acts{display:none !important;}
html.force-m .home-hero .hh-search{position:absolute;left:32px;right:32px;top:auto;bottom:-21px;margin:0;
  max-width:none;z-index:6;}
html.force-m .home-hero .hh-search input{height:38px;font-size:12.5px;border-radius:12px;
  border:1px solid rgba(255,255,255,.30);
  box-shadow:0 16px 30px -18px rgba(6,18,12,.95), 0 3px 10px rgba(6,18,12,.28);}
html.force-m .home-hero .hh-search .hh-scan{width:31px;height:31px;border-radius:10px;}
html.force-m .home-hero .hh-search .s-ico svg{width:16px;height:16px;}
html.force-m .home-body{padding-top:34px;}

html.force-m .home-hero .hh-search{background:none;border:none;box-shadow:none;padding:0;}
html.force-m .home-hero .hh-search input{background:#fff !important;color:#1f2937 !important;border:1px solid rgba(255,255,255,.75) !important;box-shadow:0 18px 34px -20px rgba(6,18,12,.95), 0 4px 12px rgba(6,18,12,.16) !important;}
html.force-m .home-hero .hh-search input::placeholder{color:#8b95a1 !important;}
html.force-m .home-hero .hh-search .s-ico{color:#8b95a1 !important;}
html.force-m .home-hero .hh-search .hh-scan{background:#f1f5f4;color:#1d4433;box-shadow:none;}
html.force-m .home-body{padding-top:16px;}

/* v872 搜索框：整体白色胶囊，跨接缝 */
html.force-m .home-hero .hh-search{background:#fff !important;border:1px solid rgba(255,255,255,.8) !important;
  border-radius:13px !important;height:40px !important;padding:0 10px !important;display:flex !important;
  align-items:center !important;gap:8px !important;
  box-shadow:0 18px 34px -20px rgba(6,18,12,.95),0 4px 12px rgba(6,18,12,.16) !important;}
html.force-m .home-hero .hh-search input{background:transparent !important;border:0 !important;box-shadow:none !important;
  height:38px !important;color:#1f2937 !important;font-size:12.5px !important;padding-left:4px !important;}
html.force-m .home-hero .hh-search input::placeholder{color:#93a0ab !important;}
html.force-m .home-hero .hh-search .s-ico{color:#7f8c98 !important;margin:0 !important;position:static !important;}
html.force-m .home-hero .hh-search .hh-scan{width:28px !important;height:28px !important;border-radius:9px !important;
  background:#eef4f1 !important;color:#1d4433 !important;box-shadow:none !important;}

/* v874 搜索框：恢复深色玻璃底，高度 +5 */
html.force-m .home-hero .hh-search{background:rgba(6,18,12,.52) !important;
  border:1px solid rgba(255,255,255,.26) !important;border-radius:13px !important;
  height:45px !important;padding:0 12px !important;
  box-shadow:0 18px 34px -20px rgba(6,18,12,.95),0 4px 12px rgba(6,18,12,.16) !important;}
html.force-m .home-hero .hh-search input{background:transparent !important;border:0 !important;
  box-shadow:none !important;height:43px !important;color:#fff !important;
  font-size:13px !important;padding-left:6px !important;}
html.force-m .home-hero .hh-search input::placeholder{color:rgba(255,255,255,.78) !important;}
html.force-m .home-hero .hh-search .s-ico{color:rgba(255,255,255,.9) !important;position:static !important;margin:0 !important;}
html.force-m .home-hero .hh-search .hh-scan{display:none !important;}

/* v875 搜索框：上移压住渐变色带，圆角/配色回到原样式 */
html.force-m .home-hero .hh-search{background:rgba(6,18,12,.50) !important;
  border:1px solid rgba(255,255,255,.24) !important;border-radius:12px !important;
  height:45px !important;padding:0 12px !important;bottom:1px !important;
  box-shadow:0 8px 18px -10px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.18) !important;}
html.force-m .home-hero .hh-search input{background:transparent !important;border:0 !important;
  box-shadow:none !important;height:43px !important;font-size:13px !important;border-radius:12px !important;}


/* ===== v883 首页图标区：彩色图标 + 首组金色强调 ===== */
html.force-m .hm-group{padding:12px 10px 8px;border:1px solid #e9eef0;border-radius:18px;
  box-shadow:0 3px 10px -6px rgba(15,23,42,.14);}
html.force-m .hm-group:first-of-type{background:linear-gradient(180deg,#fffdf7 0%,#fff7e8 100%);
  border-color:#f0e0bb;}
html.force-m .hm-cell .hm-ico{width:42px;height:42px;border-radius:13px;}
html.force-m .hm-cell .hm-ico svg{width:21px;height:21px;}
html.force-m .hm-grid{gap:14px 4px;}
html.force-m .hm-cell .tx{font-size:11.5px;}
html.force-m .hm-title{font-size:13px;margin:0 4px 10px;}

/* ===== v890 首页图标可拖动排序 ===== */
.hm-cell{touch-action:manipulation;}
body.hm-dragging{cursor:grabbing;user-select:none;-webkit-user-select:none;}
body.hm-dragging .hm-cell{cursor:grabbing;}
.hm-drag-src{opacity:.25;transform:scale(.94);}
.hm-ghost{opacity:.96;border-radius:16px;background:#fff;transform:scale(1.07);
  box-shadow:0 20px 36px -16px rgba(15,23,42,.55),0 0 0 1px rgba(15,23,42,.06);}
.hm-ghost .tx{font-weight:700;}
.hm-cell[data-k]{cursor:grab;}

/* v895 右滑返回时底部导航钉住（临时挂到 body） */
#mnav.mnav-pinned{position:fixed !important;left:0;right:0;bottom:0;z-index:1200 !important;transform:none;}

/* v896 右滑时的层次感：内容区左侧投影 */
.content.pg-front{box-shadow:-16px 0 32px rgba(15,23,42,.18);}
.pg-snap{will-change:transform;}

/* v901 收银台项目拖动排序 */
.svc-item{touch-action:manipulation;}
.svc-drag-src{opacity:.3;transform:scale(.96);}
.svc-ghost{opacity:.95;border-radius:14px;background:#fff;transform:scale(1.05);box-shadow:0 18px 34px -14px rgba(15,23,42,.5);}
body.svc-dragging{cursor:grabbing;user-select:none;-webkit-user-select:none;}

/* ===== v903 新建按钮统一放右上角（原底部整条悬浮） ===== */
html.force-m .m-addbar,
html.force-m .m-mem-addbar{
  position:fixed !important;
  top:calc(env(safe-area-inset-top,0px) + 12px) !important;
  right:14px !important;
  left:auto !important;
  bottom:auto !important;
  width:auto !important;
  padding:0 !important;
  background:none !important;
  box-shadow:none !important;
  display:flex !important;
  justify-content:flex-end !important;
  z-index:946 !important;
}
html.force-m .m-addbar button,
html.force-m .m-mem-addbar button{
  width:auto !important;
  height:34px !important;
  padding:0 15px !important;
  border-radius:17px !important;
  font-size:13px !important;
  font-weight:700 !important;
  letter-spacing:.3px !important;
  box-shadow:0 8px 18px -10px rgba(214,0,110,.75),inset 0 1px 0 rgba(255,255,255,.28) !important;
}
html.force-m .m-addbar button::before,
html.force-m .m-addbar button::after,
html.force-m .m-mem-addbar button::before,
html.force-m .m-mem-addbar button::after{display:none !important;}
/* 页面顶部标题给按钮留出位置，避免文字压到按钮 */
html.force-m .m-addbar ~ *{}

/* v904 空的头部小标签不占位（子页右上角会露出一个空胶囊） */
html.force-m .m-sub-btn:empty{display:none !important;}

/* ===== v905 库存管理·手机端 ===== */
html.force-m .inv-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 12px;}
html.force-m .inv-stat{background:#fff;border:1px solid #e9edf2;border-radius:14px;padding:9px 4px 8px;text-align:center;
  box-shadow:0 6px 14px -14px rgba(15,23,42,.5);}
html.force-m .inv-stat b{display:block;font-size:15px;font-weight:800;color:#0f172a;letter-spacing:-.2px;
  line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html.force-m .inv-stat span{display:block;font-size:10.5px;color:#8a94a6;margin-top:3px;}
html.force-m .inv-stat.warn{background:linear-gradient(180deg,#fff7f7,#fff1f1);border-color:#fbd5d5;}
html.force-m .inv-stat.warn b{color:#D6006E;}
html.force-m .inv-row{align-items:center;}
html.force-m .inv-row .m-row-inf{min-width:0;}
html.force-m .inv-row .m-row-l2{font-size:11.5px;color:#7b8794;margin-top:3px;line-height:1.45;}
html.force-m .inv-code{font-size:10.5px;color:#a0aab8;margin-top:2px;letter-spacing:.2px;}
html.force-m .inv-row .m-row-act{gap:6px;}
html.force-m .m-rch.ghost{background:#fff;color:#0f766e;border:1px solid #d6e6e3;box-shadow:none;}
html.force-m .m-rch.ghost:active{background:#f2fbf9;}

/* ===== v906 库存行改两段式；标题栏内嵌新建按钮 ===== */
html.force-m .m-head .m-head-add{
  flex:none;margin-left:8px;height:32px;padding:0 14px;border-radius:16px;border:none;color:#fff;
  background:linear-gradient(180deg,#FF2D8A,#B3005C);font-size:12.5px;font-weight:700;letter-spacing:.3px;
  box-shadow:0 8px 16px -10px rgba(214,0,110,.85),inset 0 1px 0 rgba(255,255,255,.28);cursor:pointer;
}
html.force-m .m-head .m-head-add:active{transform:scale(.96);}
html.force-m .inv-row{display:block;padding:12px 14px;}
html.force-m .inv-top{display:flex;align-items:flex-start;gap:10px;}
html.force-m .inv-top .m-row-inf{flex:1;min-width:0;}
html.force-m .inv-row .m-row-l1{font-size:15px;}
html.force-m .inv-row .m-row-l2{white-space:normal;line-height:1.5;}
html.force-m .inv-acts{display:flex;gap:8px;margin-top:10px;}
html.force-m .inv-acts .m-rch{flex:1;height:32px;border-radius:10px;font-size:12.5px;font-weight:600;
  display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;}
html.force-m .inv-acts .m-rch{background:linear-gradient(180deg,#FF2D8A,#B3005C);color:#fff;
  box-shadow:0 6px 12px -8px rgba(214,0,110,.8);}
html.force-m .inv-acts .m-rch:active{opacity:.9;}

/* v907 库存行按钮层级：入库为主，出库/编辑为次 */
html.force-m .inv-acts .m-rch.ghost{background:#fff !important;color:#0f766e !important;border:1px solid #d7e7e3 !important;box-shadow:none !important;}
html.force-m .inv-acts .m-rch.ghost:active{background:#f1faf8 !important;}

/* v908 弹窗表单：正好两个字段时并排，弹窗不再过长 */
html.force-m .modal-mask .form-row:has(> .field:nth-child(2)):not(:has(> .field:nth-child(3))){display:grid !important;grid-template-columns:1fr 1fr;gap:0 12px !important;}

/* ===== v909 库存分类筛选 + 盘点 ===== */
html.force-m .inv-cats{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px;}
html.force-m .inv-cats::-webkit-scrollbar{display:none;}
html.force-m .inv-cats .m-chip{flex:none;}
html.force-m #m-inv-take{border:1px dashed #d9dfe7;background:#fff;color:#4b5563;flex:none;}
html.force-m .take-list{max-height:52vh;overflow-y:auto;-webkit-overflow-scrolling:touch;margin:0 -4px;}
html.force-m .take-row{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px dashed #eef1f5;}
html.force-m .take-row:last-child{border-bottom:none;}
html.force-m .take-inf{flex:1;min-width:0;}
html.force-m .take-inf b{display:block;font-size:13.5px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html.force-m .take-inf span{display:block;font-size:11px;color:#8a94a6;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html.force-m .take-num{width:88px;flex:none;text-align:right;height:36px;padding:0 10px;}
html.force-m .take-unit{width:28px;flex:none;font-size:11.5px;color:#8a94a6;}

/* ===== v910 首页缺货提醒 ===== */
html.force-m .home-lowstock{padding:10px 12px 0;}
html.force-m .lowstock-card{display:flex;align-items:center;gap:10px;background:linear-gradient(180deg,#fff8f0,#fff3e6);
  border:1px solid #f6dfc4;border-radius:16px;padding:11px 13px;text-decoration:none;
  box-shadow:0 8px 20px -18px rgba(180,83,9,.6);}
html.force-m .lowstock-card .ls-ico{width:30px;height:30px;flex:none;border-radius:10px;display:grid;place-items:center;
  background:#fde9c8;color:#b45309;font-size:15px;}
html.force-m .lowstock-card .ls-tx{flex:1;min-width:0;line-height:1.35;}
html.force-m .lowstock-card .ls-tx b{display:block;font-size:13.5px;font-weight:700;color:#8a4b0a;}
html.force-m .lowstock-card .ls-tx i{display:block;font-style:normal;font-size:11px;color:#a9743a;margin-top:2px;}
html.force-m .lowstock-card .ls-go{flex:none;font-size:12px;font-weight:700;color:#b45309;}

/* ===== v912 PC 库存概览 ===== */
.inv-pc-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px;}
.inv-pc-stat{background:#fff;border:1px solid #e9edf2;border-radius:14px;padding:12px 14px;
  box-shadow:0 8px 20px -22px rgba(15,23,42,.6);}
.inv-pc-stat span{display:block;font-size:12px;color:#8a94a6;}
.inv-pc-stat b{display:block;font-size:20px;font-weight:800;color:#0f172a;margin-top:4px;letter-spacing:-.3px;}
.inv-pc-stat.warn{background:linear-gradient(180deg,#fff8f8,#fff1f1);border-color:#fbd5d5;}
.inv-pc-stat.warn b{color:#D6006E;}
@media (max-width:1280px){.inv-pc-stats{grid-template-columns:repeat(3,minmax(0,1fr));}}

/* v913 页面标题栏按钮组靠右排列 */
.page-head .ph-acts{display:flex;align-items:center;gap:8px;margin-left:auto;}

/* ===== v915 流水/入库单 ===== */
.sl-tabs{display:flex;align-items:center;gap:8px;margin-bottom:12px;}
.sl-tab{height:32px;padding:0 14px;border-radius:16px;border:1px solid #e5e9f0;background:#fff;color:#4b5563;
  font-size:13px;font-weight:600;cursor:pointer;}
.sl-tab.on{background:#0f172a;border-color:#0f172a;color:#fff;}
.po-head{display:grid;grid-template-columns:1fr 84px 92px 34px;gap:8px;margin:6px 0 6px;font-size:12px;color:#8a94a6;}
.po-row{display:grid;grid-template-columns:1fr 84px 92px 34px;gap:8px;align-items:center;margin-bottom:8px;}
.po-row .input{height:38px;}
.po-row .po-del{height:32px;padding:0;border-radius:8px;}
.po-total{margin-top:10px;text-align:right;font-size:13px;color:#4b5563;}
.po-total b{font-size:17px;color:#0f172a;margin-left:4px;}
html.force-m .po-head{display:none;}
html.force-m .po-row{grid-template-columns:1fr 74px 84px 32px;}
html.force-m .sl-tabs{flex-wrap:wrap;}

/* v916 入库单卡片（手机端） */
html.force-m .po-list{display:flex;flex-direction:column;gap:8px;max-height:46vh;overflow-y:auto;}
html.force-m .po-card{background:#fff;border:1px solid #eef1f5;border-radius:13px;padding:10px 12px;}
html.force-m .po-card .po-c1{display:flex;align-items:baseline;justify-content:space-between;}
html.force-m .po-card .po-c1 b{font-size:13.5px;color:#0f172a;}
html.force-m .po-card .po-c1 em{font-style:normal;font-size:15px;font-weight:800;color:#0f172a;}
html.force-m .po-card .po-c2{font-size:12px;color:#4b5563;margin-top:3px;}
html.force-m .po-card .po-c3{font-size:11px;color:#9aa4b2;margin-top:2px;}

/* ===== v917 新增/编辑商品：分卡 + 图片 ===== */
.iv-card{background:#fff;border:1px solid #e9edf2;border-radius:14px;padding:12px 14px;margin-bottom:12px;}
.iv-card-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.iv-card-hd b{font-size:13.5px;color:#0f172a;}
.iv-card-body{display:flex;gap:14px;align-items:flex-start;}
.iv-fields{flex:1;min-width:0;}
.iv-media{width:96px;flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;}
.iv-thumb{width:96px;height:96px;border-radius:12px;background:#f4f6f8 center/cover no-repeat;border:1px dashed #dbe1ea;
  display:grid;place-items:center;color:#a8b3c2;font-size:22px;}
.iv-thumb.empty{border-style:dashed;}
.iv-media-btns{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;}
.iv-media-btns .btn{font-size:11.5px;padding:0 8px;height:26px;}
.inv-thumb{width:46px;height:46px;flex:none;border-radius:11px;background:#f2f5f8 center/cover no-repeat;
  display:grid;place-items:center;font-size:18px;color:#b6c0cc;}
.inv-thumb.empty{background:#f6f8fa;}
.inv-thumb.sm{width:30px;height:30px;border-radius:8px;font-size:13px;display:inline-grid;vertical-align:middle;margin-right:8px;}
.inv-pc-name{display:flex;align-items:center;gap:0;}

html.force-m .iv-card-body{flex-direction:column;gap:10px;}
html.force-m .iv-media{width:100%;flex-direction:row;justify-content:flex-start;gap:10px;}
html.force-m .iv-thumb{width:64px;height:64px;border-radius:10px;font-size:18px;}
html.force-m .iv-media-btns{align-items:center;}
html.force-m .inv-thumb{width:42px;height:42px;border-radius:10px;}

/* ===== v920 手机端流水卡片 ===== */
html.force-m .sl-log-list{display:flex;flex-direction:column;gap:8px;max-height:46vh;overflow-y:auto;}
html.force-m .sl-log{background:#fff;border:1px solid #eef1f5;border-radius:13px;padding:10px 12px;}
html.force-m .sl-log .sl-l1{display:flex;align-items:baseline;justify-content:space-between;gap:8px;}
html.force-m .sl-log .sl-l1 b{font-size:13.5px;color:#0f172a;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html.force-m .sl-log .sl-l1 em{font-style:normal;font-size:15px;font-weight:800;flex:none;}
html.force-m .sl-log .sl-l2{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:11.5px;color:#6b7280;}
html.force-m .sl-log .sl-l3{font-size:11px;color:#9aa4b2;margin-top:3px;}

html.force-m .sl-log .sl-l2 .op{color:#0f172a;font-weight:600;}

/* v922 商品↔零售项目 关联 */
.iv-link{margin-top:4px;padding:12px 14px;border:1px dashed #dbe3ec;border-radius:14px;background:#fafbfd;}
.iv-link>label{display:block;font-size:12.5px;font-weight:700;color:#334155;margin-bottom:8px;}
.iv-link-row{display:flex;gap:8px;align-items:center;}
.iv-link-row .select{flex:1;min-width:0;}
.iv-link-tip{font-size:11.5px;color:#8a94a6;margin-top:8px;line-height:1.5;}
html.force-m .iv-link-row{flex-direction:column;align-items:stretch;}

/* ===== v925 零售角标 / 部门分段 ===== */
.svc-item{position:relative;}
.svc-item .svc-retail-tag{position:absolute;left:6px;top:6px;z-index:2;height:18px;padding:0 6px;border-radius:6px;
  background:rgba(15,23,42,.72);color:#fff;font-size:10.5px;font-weight:600;letter-spacing:.3px;
  display:flex;align-items:center;backdrop-filter:blur(2px);}
html.force-m .svc-m-dept{margin:14px 2px 8px;font-size:12.5px;font-weight:800;color:#0f172a;
  display:flex;align-items:center;gap:6px;}
html.force-m .svc-m-dept::before{content:'';width:3px;height:12px;border-radius:2px;background:#c9a227;}
html.force-m .svc-m-dept:first-child{margin-top:2px;}

/* ===== v932 无头像占位：蓝底必须配白字（原先被 .pl-staff span 的灰色覆盖） ===== */
.pl-staff .av-fallback,
.pl-staff .av-fallback b,
.pl-staff .av-fallback i{color:#fff !important;}
.pl-staff .av-fallback{text-shadow:0 1px 2px rgba(0,0,0,.25);}
/* 底部姓名仍用浅灰，但别影响圆内文字 */
.pl-staff > span:not(.av-fallback){color:var(--ink-3);}

/* ===== v934 无头像占位：显示完整姓名，按字数缩放 ===== */
.av-fallback b{white-space:normal !important;word-break:break-all;line-height:1.06 !important;letter-spacing:0 !important;
  display:block;max-width:100%;}
.av-fallback.av-n2 b{font-size:15px;}
.av-fallback.av-n3 b{font-size:12.5px;}
.av-fallback.av-n4 b{font-size:10.5px;}
.av-fallback.av-n5 b{font-size:9px;}
.av-fallback i{line-height:1.1 !important;}
/* 小号圆形（表格 34px / 手机行 44px）里再收一档，避免挤爆 */
#pl-tbody .av-fallback.av-n2 b,.m-row-av .av-fallback.av-n2 b{font-size:11px;}
#pl-tbody .av-fallback.av-n3 b,.m-row-av .av-fallback.av-n3 b{font-size:9.5px;}
#pl-tbody .av-fallback.av-n4 b,.m-row-av .av-fallback.av-n4 b{font-size:8px;}
#pl-tbody .av-fallback i,.m-row-av .av-fallback i{font-size:7.5px;}

/* v935 长姓名圆内微调（4-5 字） */
.av-fallback.av-n4 b{font-size:11px;}
.av-fallback.av-n5 b{font-size:10px;}
.av-fallback.av-n4 i,.av-fallback.av-n5 i{font-size:8px;margin-top:1px;}
.pl-staff .av-fallback{padding:4px;}

/* v936 长名字单行优先 */
.av-fallback.av-n5 b{font-size:9px;line-height:1.0 !important;}
.av-fallback.av-n4 b{font-size:10.5px;line-height:1.02 !important;}
.pl-staff .av-fallback{padding:2px !important;}

/* ===== v937 无头像占位：任何容器里都保持正圆，不许被文字撑成方块 ===== */
.ap-sb-item>.av-fallback,.ap-sb-item>.av-img{
  width:46px;height:46px;flex:none;border-radius:50%;overflow:hidden;object-fit:cover;
}
.ap-sb-item>.av-fallback b{font-size:12px !important;line-height:1.05 !important;}
.ap-sb-item>.av-fallback i{font-size:8px !important;margin-top:1px !important;}
.ap-sb-item>.av-fallback.av-n4 b,.ap-sb-item>.av-fallback.av-n5 b{font-size:9px !important;}
html.force-m .ap-sb-m .ap-sb-item>.av-fallback,html.force-m .ap-sb-m .ap-sb-item>.av-img{width:42px;height:42px;}
/* 兜底：占位头像默认按 1:1 渲染，避免某些容器没给宽高时被内容撑宽 */
.av-fallback{aspect-ratio:1/1;min-width:0;}

/* ===== v939 预约员工条不裁切头像 ===== */
.ca-main{min-width:0;}
.ap-sb{flex-wrap:wrap;overflow:visible;row-gap:8px;min-width:0;}
.ap-sb-item{box-sizing:border-box;}
html.force-m .ap-sb.ap-sb-m{
  flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
  padding-right:18px;-webkit-overflow-scrolling:touch;
}
/* 宽屏且人多时不挤成一团：每个头像固定宽度，超出就换行 */
@media (min-width:1100px){
  .ap-sb>.ap-sb-item{min-width:74px;}
}

/* ===== v941 预约报表 ===== */
.ar-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #eef1f5;}
.ar-presets{display:flex;gap:6px;}
.ar-chip{height:32px;padding:0 12px;border-radius:16px;border:1px solid #e5e9f0;background:#fff;color:#4b5563;font-size:13px;font-weight:600;cursor:pointer;}
.ar-chip.on{background:#0f172a;border-color:#0f172a;color:#fff;}
.ar-bar .input{height:34px;width:auto;min-width:130px;font-size:13px;}
.ar-tilde{color:#94a3b8;font-size:12px;}
.ar-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.ar-kpi{background:#fff;border:1px solid #eef1f5;border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;}
.ar-kpi span{font-size:11.5px;color:#8a94a6;}
.ar-kpi b{font-size:19px;font-weight:800;color:#0f172a;letter-spacing:-.3px;}
.ar-kpi i{font-style:normal;font-size:11px;color:#9aa4b2;}
.ar-kpi.ok b{color:#0f766e;}
.ar-kpi.warn b{color:#d97706;}
.ar-sec{margin-bottom:14px;}
.ar-sec-t{font-size:13px;font-weight:800;color:#0f172a;margin-bottom:6px;display:flex;align-items:center;gap:6px;}
.ar-sec-t::before{content:'';width:3px;height:12px;border-radius:2px;background:#c9a227;}
.ar-sec-t em{font-style:normal;font-size:11.5px;color:#8a94a6;font-weight:500;}
@media (max-width:720px){
  .ar-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ar-bar .input{min-width:0;flex:1;}
}

/* v942 手机端报表：日期控件给足宽度 */
@media (max-width:720px){
  .ar-bar .input[type="date"]{flex:1 1 40%;min-width:118px;}
  .ar-tilde{flex:none;}
  .ar-bar select.input{flex:1 1 40%;min-width:118px;}
  .ar-bar #ar-query{flex:1 1 100%;height:38px;}
}

/* ===== v943 预约报表（重做版） ===== */
.rp-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  margin:-4px 0 14px;padding-bottom:12px;border-bottom:1px solid #eef1f5;}
.rp-presets{display:flex;gap:6px;background:#f4f6fa;padding:4px;border-radius:12px;}
.rp-chip{height:30px;padding:0 14px;border-radius:9px;border:none;background:transparent;color:#5b6472;
  font-size:13px;font-weight:600;cursor:pointer;transition:.16s;}
.rp-chip.on{background:#fff;color:#0f172a;box-shadow:0 2px 8px rgba(15,23,42,.12);}
.rp-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.rp-filters .input{height:34px;width:auto;min-width:126px;font-size:13px;}
.rp-tilde{color:#94a3b8;font-size:12px;}

/* KPI */
.rp-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.rp-kpi{display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;background:#fff;
  border:1px solid #eef1f5;box-shadow:0 10px 24px -22px rgba(15,23,42,.7);}
.rp-kpi-ic{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;font-size:17px;}
.rp-kpi-lb{display:block;font-size:11.5px;color:#8a94a6;}
.rp-kpi b{display:block;font-size:20px;font-weight:800;color:#0f172a;line-height:1.2;letter-spacing:-.4px;}
.rp-kpi i{font-style:normal;font-size:10.5px;color:#9aa4b2;}
.rp-kpi.blue .rp-kpi-ic{background:#e8f0ff;color:#2563eb;}
.rp-kpi.green .rp-kpi-ic{background:#e6f7f1;color:#0d9488;}
.rp-kpi.violet .rp-kpi-ic{background:#f1ebff;color:#7c3aed;}
.rp-kpi.amber .rp-kpi-ic{background:#fff4e5;color:#d97706;}
.rp-kpi.gold{background:linear-gradient(160deg,#fffdf6,#fff6e3);border-color:#f4e4c1;}
.rp-kpi.gold .rp-kpi-ic{background:#fdeccb;color:#b45309;}

/* 卡片 */
.rp-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;}
.rp-card{background:#fff;border:1px solid #eef1f5;border-radius:16px;padding:12px 14px;margin-bottom:12px;
  box-shadow:0 12px 26px -26px rgba(15,23,42,.7);}
.rp-card-hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px;}
.rp-card-hd b{font-size:13.5px;font-weight:800;color:#0f172a;}
.rp-card-hd em{font-style:normal;font-size:11.5px;color:#9aa4b2;}
.rp-empty{padding:18px;text-align:center;color:#9aa4b2;font-size:12.5px;}

/* 排行榜 */
.rp-rank,.rp-svc,.rp-det{list-style:none;margin:0;padding:0;}
.rp-rank-li{display:flex;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px dashed #f1f4f8;}
.rp-rank-li:last-child{border-bottom:none;}
.rp-rank-no{width:20px;flex:none;text-align:center;font-size:12px;font-weight:800;color:#b6c0cc;}
.rp-rank-no.g1{color:#d4a017;}
.rp-rank-no.g2{color:#94a3b8;}
.rp-rank-no.g3{color:#c2834b;}
.rp-rank-av{width:38px;height:38px;flex:none;border-radius:50%;overflow:hidden;display:block;}
.rp-rank-main{flex:1;min-width:0;}
.rp-rank-top{display:flex;align-items:center;gap:6px;}
.rp-rank-top b{font-size:13px;font-weight:700;color:#0f172a;}
.rp-rank-sub{font-size:11px;color:#8a94a6;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rp-rank-num{flex:none;text-align:right;min-width:42px;}
.rp-rank-num b{font-size:16px;font-weight:800;color:#0f172a;}
.rp-rank-num i{font-style:normal;font-size:10px;color:#9aa4b2;margin-left:1px;}
.rp-tag{font-size:10px;padding:1px 6px;border-radius:7px;background:#eef2f7;color:#5b6472;white-space:nowrap;}
.rp-tag.warn{background:#fff4e5;color:#b45309;}
.rp-tag.done{background:#e6f7f1;color:#0f766e;}
.rp-tag.arrived{background:#e8f0ff;color:#2563eb;}
.rp-tag.pending{background:#fff7e6;color:#b45309;}
.rp-tag.noshow{background:#fee9e9;color:#D6006E;}
.rp-tag.cancel{background:#f1f4f8;color:#8a94a6;}
.rp-bar{height:6px;border-radius:3px;background:#f1f4f8;overflow:hidden;margin-top:5px;}
.rp-bar span{display:block;height:100%;border-radius:3px;
  background:linear-gradient(90deg,#5aa2fd,#2563eb);transition:width .3s;}
.rp-bar.thin{height:5px;}

/* 项目排行 */
.rp-svc-li{display:flex;align-items:center;gap:10px;padding:9px 2px;}
.rp-svc-dot{width:9px;height:9px;border-radius:50%;flex:none;}
.rp-svc-main{flex:1;min-width:0;}
.rp-svc-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;}
.rp-svc-top b{font-size:12.5px;font-weight:700;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rp-svc-top em{font-style:normal;font-size:11.5px;color:#6b7280;flex:none;}

/* 趋势 */
.rp-trend{display:flex;align-items:flex-end;gap:8px;height:110px;padding:6px 2px 0;overflow-x:auto;}
.rp-trend-col{flex:1;min-width:26px;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end;}
.rp-trend-bar{width:70%;min-height:6px;border-radius:6px 6px 3px 3px;
  background:linear-gradient(180deg,#93c5fd,#3b82f6);position:relative;transition:height .3s;}
.rp-trend-bar span{position:absolute;top:-15px;left:50%;transform:translateX(-50%);font-size:10px;color:#3b82f6;font-weight:700;}
.rp-trend-col i{font-style:normal;font-size:9.5px;color:#9aa4b2;margin-top:4px;}

/* 明细 */
.rp-det-li{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px dashed #f1f4f8;}
.rp-det-li:last-child{border-bottom:none;}
.rp-det-av{width:34px;height:34px;flex:none;border-radius:50%;overflow:hidden;display:block;}
.rp-det-main{flex:1;min-width:0;}
.rp-det-top{display:flex;align-items:center;gap:6px;}
.rp-det-top b{font-size:13px;color:#0f172a;}
.rp-det-sub{font-size:11.5px;color:#8a94a6;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rp-det-right{flex:none;text-align:right;}
.rp-det-right b{display:block;font-size:13.5px;font-weight:800;color:#0f172a;}
.rp-det-right i{font-style:normal;font-size:10.5px;color:#9aa4b2;}

@media (max-width:900px){
  .rp-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .rp-grid{grid-template-columns:1fr;}
  .rp-filters{width:100%;}
  .rp-filters .input{flex:1 1 40%;min-width:0;}
  .rp-presets{width:100%;justify-content:space-between;}
}

/* v945 报表：筛选条吸顶 + 趋势柱可读 */
.rp-bar{position:sticky;top:0;z-index:6;background:#fff;padding-top:6px;margin-top:-6px;}
.rp-trend{padding-top:20px;height:132px;}
.rp-trend-col{justify-content:flex-end;}
.rp-trend-bar{min-height:8px;max-height:82%;}
.rp-trend-bar span{top:-14px;font-size:9.5px;}

/* v947 报表筛选条：不用负边距，避免被弹窗裁掉一半 */
.rp-bar{position:sticky;top:0;z-index:6;background:#fff;margin:0 0 12px !important;padding:8px 0 10px !important;
  border-bottom:1px solid #eef1f5;}

/* v948 报表筛选条被 flex 压扁（高度只剩 19px）——禁止收缩 */
.rp-bar{flex:0 0 auto !important;min-height:auto !important;height:auto !important;overflow:visible !important;}

/* v949 报表日期分隔符 */
.rp-tilde{flex:none;width:12px;text-align:center;color:#94a3b8;font-size:12px;}
.rp-filters .input[type=date]{min-width:120px;}

/* v950 日期分隔符改「至」，清掉意外背景 */
.rp-tilde{background:none !important;border:none !important;box-shadow:none !important;color:#94a3b8;font-size:12px;width:auto;padding:0 2px;}

/* v952 预约日历：单量角标移到右上角，不再压住日期 */
.cm-cell{padding-top:2px;}
.cm-dot{top:2px !important;right:2px !important;left:auto !important;bottom:auto !important;transform:none !important;
  min-width:13px;height:13px;line-height:13px;padding:0 3px;border-radius:7px;font-size:9px;}
.cm-cell.sel .cm-dot{background:#fff !important;color:#2563EB !important;}

/* ===== v953 提成分配弹窗：职位筛选 ===== */
.aq-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px;}
.aq-head .aq-title{margin:0;}
.aq-pos{display:flex;gap:6px;flex-wrap:wrap;}
.aq-pos-chip{height:26px;padding:0 10px;border-radius:13px;border:1px solid #e5e9f0;background:#fff;
  color:#5b6472;font-size:12px;font-weight:600;cursor:pointer;transition:.15s;}
.aq-pos-chip:hover{background:#f7f9fc;}
.aq-pos-chip.on{background:#0f172a;border-color:#0f172a;color:#fff;}
.aq-box{max-height:none;}
.aq-list{max-height:168px;overflow-y:auto;padding-right:2px;}
.aq-box.aq-empty .aq-list::after{content:'该职位暂无员工';display:block;padding:12px;color:#9aa4b2;font-size:12px;text-align:center;}
@media (max-width:720px){
  .aq-head{flex-direction:column;align-items:flex-start;gap:6px;}
  .aq-list{max-height:150px;}
  .aq-pos{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;}
  .aq-pos-chip{flex:none;}
}

/* ===== v955 挂账中：卡片列表 ===== */
.cr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 12px;
  padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#fff7ed,#fff1e6);border:1px solid #fbe3c8;}
.cr-head-l{display:flex;align-items:baseline;gap:6px;}
.cr-head-l b{font-size:22px;font-weight:800;color:#b45309;letter-spacing:-.5px;}
.cr-head-l span{font-size:12px;color:#a9743a;}
.cr-head-r{font-size:12.5px;color:#a9743a;}
.cr-head-r b{font-size:17px;font-weight:800;color:#b45309;margin-left:4px;}
.cr-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:56vh;overflow-y:auto;}
.cr-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#fff;
  border:1px solid #eef1f5;box-shadow:0 8px 20px -22px rgba(15,23,42,.8);transition:transform .15s,box-shadow .15s,border-color .15s;}
.cr-item:hover{transform:translateY(-1px);border-color:#e3e8f0;box-shadow:0 14px 26px -22px rgba(15,23,42,.9);}
.cr-av{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;
  color:#fff;font-size:15px;font-weight:800;letter-spacing:0;}
.cr-main{flex:1;min-width:0;}
.cr-l1{display:flex;align-items:baseline;gap:8px;}
.cr-l1 b{font-size:14px;font-weight:700;color:#0f172a;}
.cr-when{font-size:11px;color:#9aa4b2;font-variant-numeric:tabular-nums;}
.cr-l2{font-size:12.5px;color:#4b5563;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cr-l3{font-size:11px;color:#9aa4b2;margin-top:1px;}
.cr-amt{flex:none;text-align:right;margin-right:4px;}
.cr-amt b{display:block;font-size:15px;font-weight:800;color:#d97706;letter-spacing:-.2px;}
.cr-amt i{font-style:normal;font-size:10px;color:#c2a27a;}
.cr-btn{flex:none;height:32px;padding:0 14px;border-radius:16px;border:none;cursor:pointer;
  background:linear-gradient(180deg,#0d9488,#0f766e);color:#fff;font-size:12.5px;font-weight:700;
  box-shadow:0 8px 16px -10px rgba(13,148,136,.9);transition:transform .12s;}
.cr-btn:active{transform:scale(.96);}
html.force-m .cr-item{padding:11px 12px;gap:10px;}
html.force-m .cr-av{width:38px;height:38px;border-radius:11px;}
html.force-m .cr-l2{font-size:12px;}
html.force-m .cr-btn{height:30px;padding:0 12px;}
@media (max-width:520px){
  .cr-head{flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;}
  .cr-item{flex-wrap:wrap;}
  .cr-btn{width:100%;margin-top:2px;}
}

/* ===== v957 皮肤：液态玻璃（body[data-theme="liquid"]） ===== */
body[data-theme="liquid"]{
  background:
    radial-gradient(120% 80% at 6% 0%, #dbeafe 0%, rgba(219,234,254,0) 55%),
    radial-gradient(100% 70% at 94% 4%, #ede9fe 0%, rgba(237,233,254,0) 58%),
    radial-gradient(120% 80% at 50% 102%, #ccfbf1 0%, rgba(204,251,241,0) 55%),
    linear-gradient(160deg,#eef4ff 0%,#e9f7f4 46%,#f7f0ff 100%) !important;
  background-attachment:fixed !important;
}
body[data-theme="liquid"] .content,
body[data-theme="liquid"] .pg,
body[data-theme="liquid"] .pg-page,
body[data-theme="liquid"] #view{background:transparent !important;}
/* 玻璃基元 */
body[data-theme="liquid"] .card,
body[data-theme="liquid"] .hm-group,
body[data-theme="liquid"] .m-row,
body[data-theme="liquid"] .inv-stat,
body[data-theme="liquid"] .rp-kpi,
body[data-theme="liquid"] .rp-card,
body[data-theme="liquid"] .cr-item,
body[data-theme="liquid"] .po-card,
body[data-theme="liquid"] .sl-log,
body[data-theme="liquid"] .svc-item,
body[data-theme="liquid"] .stat-card,
body[data-theme="liquid"] .m-stat{
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.34)) !important;
  backdrop-filter:blur(22px) saturate(180%);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  border:1px solid rgba(255,255,255,.85) !important;
  box-shadow:0 12px 32px -20px rgba(31,41,55,.45), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
/* 首组金色底 → 玻璃薄荷 */
body[data-theme="liquid"] .hm-group:first-of-type{
  background:linear-gradient(150deg,rgba(204,251,241,.72),rgba(219,234,254,.42)) !important;
  border-color:rgba(255,255,255,.9) !important;
}
/* 顶部栏与底部导航 */
body[data-theme="liquid"] .m-head,
body[data-theme="liquid"] .page-head{background:transparent !important;border-bottom:none !important;}
body[data-theme="liquid"] #mnav,
body[data-theme="liquid"] .mnav,
body[data-theme="liquid"] .m-pos-bar{
  background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(255,255,255,.42)) !important;
  backdrop-filter:blur(26px) saturate(180%);
  -webkit-backdrop-filter:blur(26px) saturate(180%);
  border-top:1px solid rgba(255,255,255,.9);
  box-shadow:0 -8px 30px -18px rgba(31,41,55,.5), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
/* 弹窗 */
body[data-theme="liquid"] .modal-mask{background:rgba(15,23,42,.32) !important;backdrop-filter:blur(3px);}
body[data-theme="liquid"] .modal{
  background:linear-gradient(150deg,rgba(255,255,255,.88),rgba(255,255,255,.7)) !important;
  backdrop-filter:blur(30px) saturate(180%);
  -webkit-backdrop-filter:blur(30px) saturate(180%);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 40px 80px -40px rgba(15,23,42,.6), inset 0 1px 0 rgba(255,255,255,1) !important;
}
body[data-theme="liquid"] .modal-head,
body[data-theme="liquid"] .modal-foot{background:transparent !important;border-color:rgba(255,255,255,.6) !important;}
/* 输入与胶囊 */
body[data-theme="liquid"] .input,
body[data-theme="liquid"] .select,
body[data-theme="liquid"] .m-search-bar .input,
body[data-theme="liquid"] .m-chip{
  background:rgba(255,255,255,.72) !important;
  border:1px solid rgba(255,255,255,.95) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 6px 16px -14px rgba(31,41,55,.5) !important;
  backdrop-filter:blur(12px);
}
body[data-theme="liquid"] .m-chip.on{
  background:linear-gradient(150deg,rgba(15,23,42,.88),rgba(30,41,59,.78)) !important;
  color:#fff !important;border-color:rgba(255,255,255,.25) !important;
}
/* 图标块：更亮的果冻感 */
body[data-theme="liquid"] .hm-cell .hm-ico,
body[data-theme="liquid"] .svc-item .svc-img{
  box-shadow:0 10px 22px -12px rgba(15,23,42,.55), inset 0 1px 0 rgba(255,255,255,.6) !important;
}
/* 桌面端也套一层玻璃 */
body[data-theme="liquid"] .nav-side{background:linear-gradient(160deg,#0f1a2b,#16233a) !important;}
body[data-theme="liquid"] .table-wrap,
body[data-theme="liquid"] table.table{background:transparent !important;}
body[data-theme="liquid"] .table th{background:rgba(255,255,255,.5) !important;}
body[data-theme="liquid"] .table tr:hover td{background:rgba(255,255,255,.45) !important;}
/* 移动端头部标题更醒目 */
body[data-theme="liquid"] .m-title{color:#0f172a !important;text-shadow:0 1px 0 rgba(255,255,255,.6);}

/* v958 液态玻璃：把仍然实白的底层全部打通，露出背景光晕 */
html body[data-theme="liquid"]{
  background-color:#eef4ff !important;
  background-image:
    radial-gradient(120% 80% at 6% 0%, #dbeafe 0%, rgba(219,234,254,0) 55%),
    radial-gradient(100% 70% at 94% 4%, #ede9fe 0%, rgba(237,233,254,0) 58%),
    radial-gradient(120% 80% at 50% 102%, #ccfbf1 0%, rgba(204,251,241,0) 55%),
    linear-gradient(160deg,#eef4ff 0%,#e9f7f4 46%,#f7f0ff 100%) !important;
  background-attachment:fixed !important;
  background-repeat:no-repeat !important;
}
body[data-theme="liquid"] #shell-view,
body[data-theme="liquid"] .home-body,
body[data-theme="liquid"] .home-tail,
body[data-theme="liquid"] .pos-services-wrap,
body[data-theme="liquid"] #pos-services{background:transparent !important;}
body[data-theme="liquid"] #mnav,
body[data-theme="liquid"] .mnav{
  background-image:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.44)) !important;
  background-color:transparent !important;
  backdrop-filter:blur(26px) saturate(180%) !important;
  -webkit-backdrop-filter:blur(26px) saturate(180%) !important;
  border-top:1px solid rgba(255,255,255,.9) !important;
}

/* v959 液态玻璃：增强背景色彩与通透感 */
html body[data-theme="liquid"]{
  background-color:#e8f1ff !important;
  background-image:
    radial-gradient(85% 55% at 4% 2%, #a5c8ff 0%, rgba(165,200,255,0) 60%),
    radial-gradient(70% 45% at 98% 6%, #d8c9ff 0%, rgba(216,201,255,0) 60%),
    radial-gradient(80% 50% at 50% 104%, #9ff0dc 0%, rgba(159,240,220,0) 62%),
    radial-gradient(45% 30% at 80% 55%, #ffe0c9 0%, rgba(255,224,201,0) 70%),
    linear-gradient(165deg,#eaf2ff 0%,#e6f7f3 45%,#f3ecff 100%) !important;
  background-attachment:fixed !important;
}
body[data-theme="liquid"] .card,
body[data-theme="liquid"] .hm-group,
body[data-theme="liquid"] .m-row,
body[data-theme="liquid"] .inv-stat,
body[data-theme="liquid"] .rp-kpi,
body[data-theme="liquid"] .rp-card,
body[data-theme="liquid"] .cr-item,
body[data-theme="liquid"] .po-card,
body[data-theme="liquid"] .sl-log,
body[data-theme="liquid"] .svc-item,
body[data-theme="liquid"] .stat-card,
body[data-theme="liquid"] .m-stat{
  background-image:linear-gradient(145deg,rgba(255,255,255,.5),rgba(255,255,255,.22)) !important;
}
body[data-theme="liquid"] .hm-group:first-of-type{
  background-image:linear-gradient(150deg,rgba(255,255,255,.55),rgba(210,250,244,.38)) !important;
}

/* v960 液态玻璃：底部导航更实，避免内容透出来干扰 */
body[data-theme="liquid"] #mnav,
body[data-theme="liquid"] .mnav{
  background-image:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.76)) !important;
  backdrop-filter:blur(30px) saturate(190%) !important;
  -webkit-backdrop-filter:blur(30px) saturate(190%) !important;
  box-shadow:0 -10px 30px -22px rgba(31,41,55,.55), inset 0 1px 0 rgba(255,255,255,.95) !important;
}

/* ===== v961 皮肤：墨金 / 夜幕 / 柔雾（含电脑端左侧导航） ===== */

/* ---------- 墨金 ---------- */
body[data-theme="inkgold"]{
  --primary:#b8912f;--primary-dark:#8f6f1d;--primary-light:#fbf5e3;--teal:#2f6a4d;--brand:#b8912f;
  background:linear-gradient(168deg,#faf7ef 0%,#f3edde 55%,#efe8d6 100%) !important;
  background-attachment:fixed !important;
}
body[data-theme="inkgold"] .content,
body[data-theme="inkgold"] #shell-view,
body[data-theme="inkgold"] .home-body{background:transparent !important;}
body[data-theme="inkgold"] .sidebar{
  background:linear-gradient(180deg,#0c1a13 0%,#142c1e 55%,#1b3a27 100%) !important;
  border-right:1px solid rgba(201,162,39,.18) !important;
}
body[data-theme="inkgold"] .sidebar::after{background:linear-gradient(90deg,#c9a227,#3f7a5b,#c9a227) !important;}
body[data-theme="inkgold"] .nav a{color:#cfe0d6 !important;}
body[data-theme="inkgold"] .nav a:hover{color:#f0d68a !important;background:linear-gradient(90deg,rgba(201,162,39,.16),rgba(201,162,39,.02)) !important;}
body[data-theme="inkgold"] .nav a.active{background:linear-gradient(135deg,#c9a227,#e3c163) !important;color:#14261a !important;
  box-shadow:0 8px 20px -12px rgba(201,162,39,.95) !important;}
body[data-theme="inkgold"] .nav a.active::before{background:#fff4cf !important;}
body[data-theme="inkgold"] .nav a::before{background:linear-gradient(180deg,#c9a227,#e3c163) !important;}
body[data-theme="inkgold"] .btn-primary{background:linear-gradient(180deg,#d8b04a,#a5811a) !important;color:#1b2a1f !important;
  box-shadow:0 6px 16px -8px rgba(165,129,26,.8),inset 0 1px 0 rgba(255,255,255,.45) !important;}
body[data-theme="inkgold"] .m-chip.on,body[data-theme="inkgold"] .chip.active{background:linear-gradient(135deg,#1f4331,#2f6a4d) !important;color:#f3ead3 !important;border-color:#2f6a4d !important;}
body[data-theme="inkgold"] .hm-group:first-of-type{background:linear-gradient(180deg,#fffdf6,#fbf3dd) !important;border-color:#efe0b8 !important;}
body[data-theme="inkgold"] .m-title,body[data-theme="inkgold"] .page-title{color:#14261a !important;}

/* ---------- 夜幕 ---------- */
body[data-theme="night"]{
  --primary:#4f46e5;--primary-dark:#3730a3;--primary-light:#eef0ff;--teal:#0891b2;--brand:#4f46e5;
  background:
    radial-gradient(90% 60% at 8% 0%, #1e2a52 0%, rgba(30,42,82,0) 60%),
    radial-gradient(80% 55% at 96% 6%, #3b1d5e 0%, rgba(59,29,94,0) 62%),
    linear-gradient(170deg,#0a1020 0%,#111a30 55%,#0c1424 100%) !important;
  background-attachment:fixed !important;color:#e6ebf7;
}
body[data-theme="night"] .content,body[data-theme="night"] #shell-view,body[data-theme="night"] .home-body{background:transparent !important;}
body[data-theme="night"] .sidebar{
  background:linear-gradient(180deg,#080d18 0%,#101a30 55%,#16223c 100%) !important;
  border-right:1px solid rgba(99,102,241,.25) !important;
}
body[data-theme="night"] .sidebar::after{background:linear-gradient(90deg,#6366f1,#22d3ee,#a855f7) !important;}
body[data-theme="night"] .nav a{color:#b9c6e4 !important;}
body[data-theme="night"] .nav a:hover{color:#fff !important;background:linear-gradient(90deg,rgba(99,102,241,.25),rgba(34,211,238,.05)) !important;}
body[data-theme="night"] .nav a.active{background:linear-gradient(135deg,#4f46e5,#7c3aed) !important;color:#fff !important;
  box-shadow:0 8px 22px -12px rgba(99,102,241,.95) !important;}
body[data-theme="night"] .nav a::before{background:linear-gradient(180deg,#22d3ee,#6366f1) !important;}
body[data-theme="night"] .btn-primary{background:linear-gradient(180deg,#6366f1,#4338ca) !important;
  box-shadow:0 6px 18px -8px rgba(79,70,229,.9),inset 0 1px 0 rgba(255,255,255,.3) !important;}
body[data-theme="night"] .m-chip.on,body[data-theme="night"] .chip.active{background:linear-gradient(135deg,#4f46e5,#7c3aed) !important;color:#fff !important;border-color:transparent !important;}
/* 卡片仍保持浅色以保证数据可读，只把背景换成夜色 */
body[data-theme="night"] .card,body[data-theme="night"] .hm-group,body[data-theme="night"] .m-row{
  background:rgba(255,255,255,.96) !important;border-color:rgba(148,163,184,.22) !important;}
body[data-theme="night"] .m-title,body[data-theme="night"] .page-title{color:#eef2ff !important;}
body[data-theme="night"] .home-tail{color:#8ea0c4 !important;}

/* ---------- 柔雾 ---------- */
body[data-theme="blush"]{
  --primary:#e0687c;--primary-dark:#b8455a;--primary-light:#fdeef1;--teal:#b8860b;--brand:#e0687c;
  background:
    radial-gradient(90% 60% at 4% 0%, #ffe1e6 0%, rgba(255,225,230,0) 60%),
    radial-gradient(80% 50% at 98% 8%, #ffeccc 0%, rgba(255,236,204,0) 62%),
    radial-gradient(90% 60% at 50% 102%, #e9e4ff 0%, rgba(233,228,255,0) 60%),
    linear-gradient(168deg,#fff8f9 0%,#fdf4f0 48%,#f7f1ff 100%) !important;
  background-attachment:fixed !important;
}
body[data-theme="blush"] .content,body[data-theme="blush"] #shell-view,body[data-theme="blush"] .home-body{background:transparent !important;}
body[data-theme="blush"] .sidebar{
  background:linear-gradient(180deg,#2a1f22 0%,#3a2a2c 55%,#463234 100%) !important;
  border-right:1px solid rgba(240,138,155,.22) !important;
}
body[data-theme="blush"] .sidebar::after{background:linear-gradient(90deg,#f08a9b,#e0b070,#c4b5fd) !important;}
body[data-theme="blush"] .nav a{color:#e8d9d6 !important;}
body[data-theme="blush"] .nav a:hover{color:#fff !important;background:linear-gradient(90deg,rgba(240,138,155,.22),rgba(224,176,112,.06)) !important;}
body[data-theme="blush"] .nav a.active{background:linear-gradient(135deg,#f08a9b,#e0687c) !important;color:#fff !important;
  box-shadow:0 8px 20px -12px rgba(224,104,124,.95) !important;}
body[data-theme="blush"] .nav a::before{background:linear-gradient(180deg,#fbbf24,#f08a9b) !important;}
body[data-theme="blush"] .btn-primary{background:linear-gradient(180deg,#f0899b,#d9576c) !important;
  box-shadow:0 6px 16px -8px rgba(217,87,108,.8),inset 0 1px 0 rgba(255,255,255,.4) !important;}
body[data-theme="blush"] .m-chip.on,body[data-theme="blush"] .chip.active{background:linear-gradient(135deg,#e0687c,#c9556a) !important;color:#fff !important;border-color:transparent !important;}
body[data-theme="blush"] .hm-group:first-of-type{background:linear-gradient(180deg,#fffaf6,#fdeef1) !important;border-color:#f6dbe0 !important;}

/* ===== v962 皮肤：首页 hero 与入口按钮配色 ===== */
body[data-theme="inkgold"] .home-hero{
  background:
    radial-gradient(115% 76% at 6% -10%, #2f6a4d 0%, rgba(47,106,77,0) 58%),
    radial-gradient(100% 68% at 94% 0%, #c9a227 0%, rgba(201,162,39,0) 55%),
    linear-gradient(160deg,#0b1a12 0%,#122b1d 52%,#1e4230 100%) !important;
  box-shadow:0 16px 34px -20px rgba(6,20,12,.85) !important;
}
body[data-theme="inkgold"] .hh-big.hh-pos{background:linear-gradient(160deg,#d8b04a,#a5811a) !important;color:#16241a !important;}
body[data-theme="inkgold"] .hh-big.hh-data{background:linear-gradient(160deg,#2f6a4d,#1c4530) !important;}
body[data-theme="inkgold"] .hh-store{color:#f3ead3 !important;}
body[data-theme="inkgold"] .hh-foot{color:rgba(243,234,211,.82) !important;}

body[data-theme="night"] .home-hero{
  background:
    radial-gradient(115% 76% at 6% -10%, #4f46e5 0%, rgba(79,70,229,0) 58%),
    radial-gradient(100% 68% at 94% 0%, #22d3ee 0%, rgba(34,211,238,0) 52%),
    linear-gradient(160deg,#0a1020 0%,#151d38 55%,#221a4a 100%) !important;
  box-shadow:0 16px 34px -20px rgba(4,8,20,.9) !important;
}
body[data-theme="night"] .hh-big.hh-pos{background:linear-gradient(160deg,#6366f1,#4338ca) !important;}
body[data-theme="night"] .hh-big.hh-data{background:linear-gradient(160deg,#0891b2,#155e75) !important;}

body[data-theme="blush"] .home-hero{
  background:
    radial-gradient(115% 76% at 6% -10%, #f9a8b8 0%, rgba(249,168,184,0) 58%),
    radial-gradient(100% 68% at 94% 0%, #f6d08a 0%, rgba(246,208,138,0) 55%),
    linear-gradient(160deg,#f7b6c2 0%,#e8909f 52%,#d97787 100%) !important;
  box-shadow:0 16px 34px -20px rgba(160,70,85,.7) !important;
}
body[data-theme="blush"] .hh-big.hh-pos{background:linear-gradient(160deg,#e0687c,#c9556a) !important;}
body[data-theme="blush"] .hh-big.hh-data{background:linear-gradient(160deg,#c9a227,#a5811a) !important;}

/* ===== v963 皮肤：图标配色统一 ===== */
body[data-theme="inkgold"] .hm-cell .hm-ico{
  background:linear-gradient(155deg,#2f6a4d 0%,#1f4f37 55%,#163a29 100%) !important;
  box-shadow:0 8px 16px -12px rgba(12,32,22,.9),inset 0 1px 0 rgba(255,255,255,.14) !important;
}
body[data-theme="inkgold"] .hm-cell .hm-ico svg{color:#f3ead3 !important;}
body[data-theme="night"] .hm-cell .hm-ico{
  background:linear-gradient(155deg,#4f46e5 0%,#4338ca 55%,#312e81 100%) !important;
  box-shadow:0 8px 16px -12px rgba(30,27,75,.95),inset 0 1px 0 rgba(255,255,255,.18) !important;
}
body[data-theme="night"] .hm-cell .hm-ico svg{color:#e0e7ff !important;}
body[data-theme="blush"] .hm-cell .hm-ico{
  background:linear-gradient(155deg,#f08a9b 0%,#e0687c 55%,#c9556a 100%) !important;
  box-shadow:0 8px 16px -12px rgba(150,60,75,.8),inset 0 1px 0 rgba(255,255,255,.3) !important;
}
body[data-theme="blush"] .hm-cell .hm-ico svg{color:#fff7f8 !important;}
/* 收银台项目卡也跟一下 */
body[data-theme="inkgold"] .svc-section-hd b{color:#1b3a27 !important;}
body[data-theme="night"] .svc-section-hd b{color:#e6ebf7 !important;}

/* ===== v964 左侧导航：玻璃质感（按皮肤配色） ===== */
.sidebar{
  backdrop-filter:blur(26px) saturate(180%);
  -webkit-backdrop-filter:blur(26px) saturate(180%);
  position:sticky;
  overflow:hidden;
}
.sidebar::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 38%,rgba(255,255,255,0) 66%,rgba(255,255,255,.07) 100%);
}
.sidebar .logo,.sidebar .nav,.sidebar .user-box,.sidebar .sys-box{position:relative;z-index:1;}

/* 液态玻璃：深色玻璃 + 蓝调，与浅色内容形成对比 */
body[data-theme="liquid"] .sidebar{
  background:linear-gradient(165deg,rgba(13,24,38,.9) 0%,rgba(20,36,54,.8) 52%,rgba(16,32,46,.86) 100%) !important;
  border-right:1px solid rgba(255,255,255,.14) !important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.06), 12px 0 40px -30px rgba(15,23,42,.9);
}
body[data-theme="liquid"] .sidebar::after{
  background:linear-gradient(90deg,#38bdf8,#34d399,#a78bfa) !important;height:3px;opacity:.9;
}
body[data-theme="liquid"] .nav a{color:#c7d5e6 !important;}
body[data-theme="liquid"] .nav a:hover{color:#fff !important;background:linear-gradient(90deg,rgba(56,189,248,.22),rgba(52,211,153,.06)) !important;}
body[data-theme="liquid"] .nav a.active{background:linear-gradient(135deg,rgba(56,189,248,.3),rgba(52,211,153,.22)) !important;
  color:#fff !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 8px 20px -14px rgba(56,189,248,.9) !important;}
body[data-theme="liquid"] .nav a::before{background:linear-gradient(180deg,#7dd3fc,#34d399) !important;}
body[data-theme="liquid"] .sidebar .user-box{border-top-color:rgba(255,255,255,.12) !important;}

/* 墨金：墨绿玻璃 */
body[data-theme="inkgold"] .sidebar{
  background:linear-gradient(165deg,rgba(9,22,16,.92) 0%,rgba(18,44,30,.82) 55%,rgba(14,34,23,.88) 100%) !important;
  box-shadow:inset -1px 0 0 rgba(233,200,128,.12), 12px 0 40px -30px rgba(6,20,12,.9);
}

/* 夜幕：深蓝玻璃 */
body[data-theme="night"] .sidebar{
  background:linear-gradient(165deg,rgba(8,13,24,.92) 0%,rgba(16,26,48,.82) 55%,rgba(12,20,36,.88) 100%) !important;
  box-shadow:inset -1px 0 0 rgba(99,102,241,.18), 12px 0 44px -30px rgba(0,0,0,.95);
}

/* 柔雾：可可玻璃 */
body[data-theme="blush"] .sidebar{
  background:linear-gradient(165deg,rgba(36,26,29,.9) 0%,rgba(58,42,45,.82) 55%,rgba(44,32,35,.88) 100%) !important;
  box-shadow:inset -1px 0 0 rgba(240,138,155,.18), 12px 0 40px -30px rgba(60,30,36,.8);
}

/* 默认两套皮肤（玫瑰红/深海蓝）也顺手玻璃化，保持质感一致 */
body[data-theme="classic"] .sidebar,
body[data-theme="ocean"] .sidebar,
.sidebar{
  background-image:linear-gradient(165deg,rgba(13,20,32,.9) 0%,rgba(22,32,46,.8) 55%,rgba(28,43,63,.86) 100%) !important;
}

/* v965 玻璃侧栏：选中态加强 + 右侧高光分隔 */
body[data-theme="liquid"] .nav a.active{
  background:linear-gradient(135deg,rgba(125,211,252,.34),rgba(52,211,153,.22)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34), inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 22px -16px rgba(56,189,248,.95) !important;
  font-weight:700 !important;
}
body[data-theme="liquid"] .nav a.active::before{height:60% !important;}
body[data-theme="liquid"] .sidebar{border-right:1px solid rgba(125,211,252,.22) !important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.08), 18px 0 42px -34px rgba(56,189,248,.55) !important;}
body[data-theme="inkgold"] .nav a.active::before{height:60% !important;}
body[data-theme="night"] .nav a.active::before{height:60% !important;}
body[data-theme="blush"] .nav a.active::before{height:60% !important;}
body[data-theme="classic"] .nav a.active::before,
body[data-theme="ocean"] .nav a.active::before{height:60% !important;}

/* ===== v966 今日数据页跟随皮肤（原来写死米色底） ===== */
.av2{background:transparent !important;}
body[data-theme="liquid"] .av2{background:rgba(255,255,255,.28) !important;backdrop-filter:blur(18px) saturate(170%);
  -webkit-backdrop-filter:blur(18px) saturate(170%);border-radius:24px;}
body[data-theme="inkgold"] .av2{background:linear-gradient(168deg,rgba(255,253,246,.72),rgba(247,241,226,.5)) !important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:24px;}
body[data-theme="night"] .av2{background:rgba(12,20,36,.55) !important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:24px;}
body[data-theme="blush"] .av2{background:linear-gradient(168deg,rgba(255,250,251,.75),rgba(253,240,240,.5)) !important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:24px;}
/* 深色皮肤下统计卡的文字保持深色（卡片本身仍是浅色） */
body[data-theme="night"] .av2 .card,
body[data-theme="night"] .av2 .stat-card{background:rgba(255,255,255,.96) !important;}
/* 卡片在浅色底上更清晰一点 */
body[data-theme="liquid"] .av2 .card,
body[data-theme="liquid"] .av2 .stat-card,
body[data-theme="inkgold"] .av2 .card,
body[data-theme="inkgold"] .av2 .stat-card,
body[data-theme="blush"] .av2 .card,
body[data-theme="blush"] .av2 .stat-card{
  box-shadow:0 10px 26px -22px rgba(31,41,55,.5), inset 0 1px 0 rgba(255,255,255,.95) !important;
  border:1px solid rgba(255,255,255,.9) !important;
}

/* ===== v967 经典 / 深海蓝：侧栏恢复原样（玻璃只给新皮肤） ===== */
body[data-theme="classic"] .sidebar,
body[data-theme="ocean"] .sidebar{
  background:linear-gradient(180deg,#101828 0%,#16202e 55%,#1c2b3f 100%) !important;
  border-right:1px solid rgba(255,255,255,.05) !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  overflow:visible !important;
}
body[data-theme="classic"] .sidebar::before,
body[data-theme="ocean"] .sidebar::before{display:none !important;}
body[data-theme="classic"] .sidebar::after,
body[data-theme="ocean"] .sidebar::after{
  background:linear-gradient(90deg,var(--primary),var(--teal),#f59e0b) !important;
  height:4px !important;opacity:1 !important;
}
body[data-theme="classic"] .nav a,
body[data-theme="ocean"] .nav a{color:#cbd5e1 !important;}
body[data-theme="classic"] .nav a:hover,
body[data-theme="ocean"] .nav a:hover{
  color:#fff !important;
  background:linear-gradient(90deg,rgba(255,255,255,.10),rgba(255,255,255,.02)) !important;
  box-shadow:0 4px 12px rgba(0,0,0,.18) !important;
}
body[data-theme="classic"] .nav a.active,
body[data-theme="ocean"] .nav a.active{
  background:var(--primary) !important;color:#fff !important;
  box-shadow:0 4px 14px rgba(214,0,110,.32) !important;
}
body[data-theme="classic"] .nav a.active::before,
body[data-theme="ocean"] .nav a.active::before{
  height:100% !important;
  background:linear-gradient(180deg,var(--primary),#FF6FB0) !important;
}
body[data-theme="ocean"] .nav a.active{box-shadow:0 4px 14px rgba(59,130,246,.35) !important;}
body[data-theme="ocean"] .nav a.active::before{background:linear-gradient(180deg,#3b82f6,#93c5fd) !important;}
body[data-theme="classic"] .nav a::before,
body[data-theme="ocean"] .nav a::before{background:linear-gradient(180deg,var(--primary),#FF6FB0) !important;}
body[data-theme="ocean"] .nav a::before{background:linear-gradient(180deg,#3b82f6,#93c5fd) !important;}

/* v968 经典 / 深海蓝：今日数据页保持原来的米色底 */
body[data-theme="classic"] .av2,
body[data-theme="ocean"] .av2{
  background:#F6F2EA !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  border-radius:0 !important;
}
body[data-theme="classic"] .av2 .card,
body[data-theme="classic"] .av2 .stat-card,
body[data-theme="ocean"] .av2 .card,
body[data-theme="ocean"] .av2 .stat-card{
  box-shadow:0 1px 3px rgba(0,0,0,.08),0 4px 14px rgba(0,0,0,.05) !important;
  border:1px solid var(--line) !important;
}
body[data-theme="classic"] .sidebar,
body[data-theme="ocean"] .sidebar{backdrop-filter:none !important;}

/* ===== v969 经典 / 深海蓝：选中项与侧栏完全恢复原配色 ===== */
body[data-theme="classic"] .sidebar{
  background:linear-gradient(180deg,#101828 0%,#16202e 55%,#1c2b3f 100%) !important;
}
body[data-theme="ocean"] .sidebar{
  background:linear-gradient(180deg,#0b1f3a 0%,#0e2a4d 55%,#123a66 100%) !important;
}
body[data-theme="classic"] .nav a.active,
body[data-theme="classic"] .nav a.nav-item.active,
body:not([data-theme]) .nav a.active{
  background:#D6006E !important;color:#fff !important;
  box-shadow:0 4px 14px rgba(214,0,110,.32) !important;
}
body[data-theme="ocean"] .nav a.active,
body[data-theme="ocean"] .nav a.nav-item.active{
  background:#1d6ff2 !important;color:#fff !important;
  box-shadow:0 4px 16px rgba(29,111,242,.38) !important;
}
body[data-theme="classic"] .nav a.active::before,
body[data-theme="ocean"] .nav a.active::before{height:100% !important;}
body[data-theme="classic"] .nav a.active::before{background:linear-gradient(180deg,#D6006E,#FF6FB0) !important;}
body[data-theme="ocean"] .nav a.active::before{background:linear-gradient(180deg,#3b82f6,#93c5fd) !important;}
body[data-theme="classic"] .nav a::before{background:linear-gradient(180deg,#D6006E,#FF6FB0) !important;}
body[data-theme="ocean"] .nav a::before{background:linear-gradient(180deg,#3b82f6,#93c5fd) !important;}
/* 顶部/底栏品牌色细线也回到各自原色 */
body[data-theme="classic"] .sidebar::after{background:linear-gradient(90deg,#D6006E,#0d9488,#f59e0b) !important;}
body[data-theme="ocean"] .sidebar::after{background:linear-gradient(90deg,#1d6ff2,#0d9488,#38bdf8) !important;}

/* ===== v973 液态玻璃：水晶玻璃按钮（仅 liquid） ===== */
body[data-theme="liquid"] .btn{
  border-radius:14px !important;
  border:1px solid rgba(255,255,255,.92) !important;
  background-image:
    radial-gradient(120% 70% at 50% -20%, rgba(255,255,255,.95), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.34)) !important;
  background-color:transparent !important;
  color:#0f172a !important;
  backdrop-filter:blur(16px) saturate(180%);
  -webkit-backdrop-filter:blur(16px) saturate(180%);
  box-shadow:
    0 10px 24px -14px rgba(31,41,55,.55),
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -8px 14px -10px rgba(15,23,42,.35) !important;
  transition:transform .14s ease, box-shadow .18s ease, filter .18s ease !important;
}
body[data-theme="liquid"] .btn:hover{transform:translateY(-1px);filter:brightness(1.03);}
body[data-theme="liquid"] .btn:active{transform:translateY(0) scale(.985);}

/* 主按钮：深色水晶 + 蓝青辉光 */
body[data-theme="liquid"] .btn-primary{
  color:#f8fafc !important;
  border:1px solid rgba(255,255,255,.22) !important;
  background-image:
    radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(43,60,86,.96) 0%, rgba(16,24,38,.96) 55%, rgba(9,14,24,.98) 100%) !important;
  box-shadow:
    0 18px 34px -18px rgba(56,189,248,.75),
    0 6px 16px -8px rgba(8,15,28,.95),
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -10px 18px -12px rgba(56,189,248,.55) !important;
}
/* 青色/成功类 */
body[data-theme="liquid"] .btn-teal,
body[data-theme="liquid"] .btn-ok{
  color:#eafffb !important;
  border:1px solid rgba(255,255,255,.22) !important;
  background-image:
    radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.45), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(20,74,66,.96), rgba(9,38,34,.98)) !important;
  box-shadow:
    0 18px 32px -18px rgba(52,211,153,.8),
    0 6px 16px -8px rgba(6,25,22,.95),
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -10px 18px -12px rgba(52,211,153,.55) !important;
}
/* 危险/作废 */
body[data-theme="liquid"] .btn-danger,
body[data-theme="liquid"] .btn-red{
  color:#FFF0F6 !important;
  border:1px solid rgba(255,255,255,.2) !important;
  background-image:
    radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.42), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(84,22,44,.96), rgba(44,10,24,.98)) !important;
  box-shadow:
    0 18px 32px -18px rgba(255,45,138,.8),
    0 6px 16px -8px rgba(30,8,16,.95),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -10px 18px -12px rgba(255,45,138,.5) !important;
}
/* 次要/幽灵按钮：浅水晶 */
body[data-theme="liquid"] .btn-ghost{
  color:#0f172a !important;
  border:1px solid rgba(255,255,255,.95) !important;
  background-image:
    radial-gradient(120% 70% at 50% -20%, rgba(255,255,255,.98), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.42)) !important;
  box-shadow:
    0 10px 22px -16px rgba(31,41,55,.5),
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -8px 14px -12px rgba(15,23,42,.3) !important;
}
/* 筛选胶囊 / 分段控件 */
body[data-theme="liquid"] .m-chip,
body[data-theme="liquid"] .seg-mini button,
body[data-theme="liquid"] .rp-chip{
  border:1px solid rgba(255,255,255,.92) !important;
  background-image:linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.42)) !important;
  background-color:transparent !important;
  color:#334155 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,1), 0 6px 14px -12px rgba(31,41,55,.6) !important;
  backdrop-filter:blur(12px);
}
body[data-theme="liquid"] .m-chip.on,
body[data-theme="liquid"] .seg-mini button.on,
body[data-theme="liquid"] .rp-chip.on{
  color:#f8fafc !important;
  border-color:rgba(255,255,255,.2) !important;
  background-image:
    radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.45), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(40,56,80,.95), rgba(12,18,30,.97)) !important;
  box-shadow:0 14px 26px -16px rgba(56,189,248,.8), inset 0 1px 0 rgba(255,255,255,.38) !important;
}
/* 收银台结算条、挂账收款等专用按钮 */
body[data-theme="liquid"] .cr-btn,
body[data-theme="liquid"] .m-cart-btn{
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.22) !important;
  background-image:
    radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.45), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(18,74,66,.96), rgba(8,34,31,.98)) !important;
  color:#eafffb !important;
  box-shadow:0 18px 32px -18px rgba(52,211,153,.85), inset 0 1px 0 rgba(255,255,255,.4) !important;
}

/* ===== v974 液态玻璃：分类胶囊 + 结算按钮水晶化 ===== */
body[data-theme="liquid"] .chip{
  border:1px solid rgba(255,255,255,.92) !important;
  background-image:linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.44)) !important;
  background-color:transparent !important;
  color:#334155 !important;
  border-radius:12px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,1), 0 6px 14px -12px rgba(31,41,55,.6) !important;
  backdrop-filter:blur(12px);
}
body[data-theme="liquid"] .chip.active{
  color:#f8fafc !important;
  border-color:rgba(255,255,255,.22) !important;
  background-image:
    radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(43,60,86,.96) 0%, rgba(16,24,38,.96) 55%, rgba(9,14,24,.98) 100%) !important;
  box-shadow:0 14px 26px -16px rgba(56,189,248,.85), inset 0 1px 0 rgba(255,255,255,.38) !important;
}
/* 结算区主按钮（原本有更高优先级的玫红渐变） */
body[data-theme="liquid"] .pos-submit-row .btn-primary,
body[data-theme="liquid"] .pos-submit .btn-primary,
body[data-theme="liquid"] .pos-pay .btn-primary,
body[data-theme="liquid"] .settle-row .btn-primary,
body[data-theme="liquid"] #pos-submit{
  background-image:
    radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(43,60,86,.96) 0%, rgba(16,24,38,.96) 55%, rgba(9,14,24,.98) 100%) !important;
  color:#f8fafc !important;
  border:1px solid rgba(255,255,255,.22) !important;
  border-radius:14px !important;
  box-shadow:
    0 18px 34px -18px rgba(56,189,248,.8),
    0 6px 16px -8px rgba(8,15,28,.95),
    inset 0 1px 0 rgba(255,255,255,.42) !important;
}
body[data-theme="liquid"] .pos-submit-row .btn-ghost{border-radius:14px !important;}

/* ===== v975 柔雾：PC 全局底色 + 粉玻璃卡片 + 粉侧栏 ===== */
body[data-theme="blush"] .pg,
body[data-theme="blush"] .pg-page,
body[data-theme="blush"] .content,
body[data-theme="blush"] #view,
body[data-theme="blush"] #shell-view,
body[data-theme="blush"] .home-body,
body[data-theme="blush"] .wrap,
body[data-theme="blush"] .page{background:transparent !important;}

body[data-theme="blush"] .page-head{
  background:transparent !important;
  border-bottom:0 !important;
  box-shadow:none !important;
}
body[data-theme="blush"] .card,
body[data-theme="blush"] .stat-card,
body[data-theme="blush"] .hm-group,
body[data-theme="blush"] .m-row,
body[data-theme="blush"] .inv-stat,
body[data-theme="blush"] .ap-card,
body[data-theme="blush"] .list-row{
  background-image:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.46)) !important;
  background-color:transparent !important;
  border:1px solid rgba(255,255,255,.95) !important;
  backdrop-filter:blur(20px) saturate(170%);
  -webkit-backdrop-filter:blur(20px) saturate(170%);
  box-shadow:0 14px 32px -24px rgba(150,60,75,.5), inset 0 1px 0 rgba(255,255,255,1) !important;
}
/* 表格卡片里的表头也跟着淡化 */
body[data-theme="blush"] .table th{background:rgba(255,240,243,.7) !important;}
body[data-theme="blush"] .table tr:hover td{background:rgba(255,236,240,.55) !important;}

/* ---- 侧栏：粉底 + 玫红选中 ---- */
body[data-theme="blush"] .sidebar{
  background:linear-gradient(180deg,#fff6f8 0%,#ffe9ee 55%,#ffdfe7 100%) !important;
  border-right:1px solid rgba(224,104,124,.22) !important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.75), 14px 0 36px -32px rgba(224,104,124,.55) !important;
  backdrop-filter:blur(22px) saturate(170%);
  -webkit-backdrop-filter:blur(22px) saturate(170%);
}
body[data-theme="blush"] .sidebar::before{
  background:linear-gradient(115deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,.34) 100%) !important;
}
body[data-theme="blush"] .sidebar .logo{color:#6d2b3a !important;border-bottom-color:rgba(224,104,124,.16) !important;}
body[data-theme="blush"] .nav a{color:#8a4a58 !important;}
body[data-theme="blush"] .nav a:hover{color:#5f2230 !important;background:linear-gradient(90deg,rgba(224,104,124,.16),rgba(224,104,124,.03)) !important;}
body[data-theme="blush"] .nav a.active{
  background:linear-gradient(135deg,#f0899b,#e0687c) !important;color:#fff !important;
  box-shadow:0 10px 22px -14px rgba(224,104,124,.95), inset 0 1px 0 rgba(255,255,255,.4) !important;
}
body[data-theme="blush"] .nav a.active::before{background:linear-gradient(180deg,#fff,#ffd9df) !important;height:100% !important;}
body[data-theme="blush"] .nav a::before{background:linear-gradient(180deg,#f08a9b,#e0687c) !important;}
body[data-theme="blush"] .sidebar .user-box{border-top-color:rgba(224,104,124,.18) !important;color:#8a4a58 !important;}
body[data-theme="blush"] .sidebar .user-box .name{color:#5f2230 !important;}
body[data-theme="blush"] .sidebar .nav-group{color:#b9808c !important;}
body[data-theme="blush"] .sidebar::after{background:linear-gradient(90deg,#f08a9b,#e0b070,#c4b5fd) !important;height:4px !important;}

/* ---- 手机端首页大图保持原样（只让 PC 用粉色渐变） ---- */
@media (max-width:1080px){
  html.force-m body[data-theme="blush"] .home-hero{
    box-shadow:0 14px 30px -18px rgba(160,70,85,.45) !important;
  }
}
@media (min-width:1081px){
  body[data-theme="blush"] .home-hero{
    background:
      radial-gradient(115% 76% at 6% -10%, #f9a8b8 0%, rgba(249,168,184,0) 58%),
      radial-gradient(100% 68% at 94% 0%, #f6d08a 0%, rgba(246,208,138,0) 55%),
      linear-gradient(160deg,#f7b6c2 0%,#e8909f 52%,#d97787 100%) !important;
  }
}

/* v976 柔雾：手机端首页大图恢复原样（仍用 home-hero-bg 图片） */
@media (max-width:1080px){
  html.force-m body[data-theme="blush"] .home-hero{
    background:
      linear-gradient(180deg,rgba(9,22,15,.34) 0%,rgba(9,22,15,.12) 38%,rgba(9,22,15,.34) 72%,rgba(8,20,13,.62) 100%),
      url('../img/home-hero-bg.png') center 18% / cover no-repeat !important;
    box-shadow:0 16px 30px -18px rgba(6,26,17,.55) !important;
  }
}
/* PC 首页两个大按钮：玫红/深玫红（原来金色不协调） */
body[data-theme="blush"] .hh-big.hh-data{
  background:linear-gradient(160deg,rgba(255,255,255,.34),rgba(255,255,255,.16)) !important;
  border-color:rgba(255,255,255,.5) !important;
  color:#5f2230 !important;
}
body[data-theme="blush"] .hh-big.hh-data .hb-tx b,
body[data-theme="blush"] .hh-big.hh-data .hb-ico{color:#5f2230 !important;}
body[data-theme="blush"] .hh-big.hh-pos{
  background:linear-gradient(160deg,#e0687c,#c9556a) !important;
  border-color:rgba(255,255,255,.45) !important;
  color:#fff !important;
}

/* v977 柔雾：选中项整块浅粉（与圈中颜色一致），不再叠加渐变 */
body[data-theme="blush"] .sidebar .nav a.active{
  background-color:#f7c8d3 !important;
  background-image:none !important;
  color:#8a2f42 !important;
  font-weight:700 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85), 0 8px 18px -16px rgba(224,104,124,.9) !important;
  backdrop-filter:none !important;
}
body[data-theme="blush"] .sidebar .nav a.active::before{
  content:'' !important;display:block !important;
  position:absolute !important;left:0 !important;top:50% !important;transform:translateY(-50%) !important;
  width:3px !important;height:58% !important;border-radius:0 3px 3px 0 !important;
  background:#e0687c !important;
}
body[data-theme="blush"] .sidebar .nav a.active::after{display:none !important;}
body[data-theme="blush"] .sidebar .nav a.active *{background:transparent !important;}
body[data-theme="blush"] .sidebar .nav a.active .ico{color:#8a2f42 !important;}

/* v983 柔雾：选中项实心玫红 #e0687c */
body[data-theme="blush"] .sidebar .nav a.active{
  background-color:#e0687c !important;
  background-image:none !important;
  color:#fff !important;
  font-weight:700 !important;
  box-shadow:0 8px 18px -12px rgba(224,104,124,.95), inset 0 1px 0 rgba(255,255,255,.35) !important;
}
body[data-theme="blush"] .sidebar .nav a.active .ico{color:#fff !important;}
body[data-theme="blush"] .sidebar .nav a.active::before{
  content:'' !important;display:block !important;
  position:absolute !important;left:0 !important;top:50% !important;transform:translateY(-50%) !important;
  width:3px !important;height:56% !important;border-radius:0 3px 3px 0 !important;
  background:#fff !important;opacity:.9 !important;
}

/* ===== v984 柔雾：侧栏整片 #E0687C ===== */
body[data-theme="blush"] .sidebar{
  background-color:#E0687C !important;
  background-image:linear-gradient(180deg,#E0687C 0%,#DA6076 60%,#C9556A 100%) !important;
  border-right:1px solid rgba(255,255,255,.18) !important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.12), 14px 0 36px -30px rgba(180,60,80,.8) !important;
}
body[data-theme="blush"] .sidebar::before{
  background:linear-gradient(115deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,.07) 100%) !important;
}
body[data-theme="blush"] .sidebar::after{background:linear-gradient(90deg,#fff,#ffd9df,#fff) !important;opacity:.55 !important;}
body[data-theme="blush"] .sidebar .logo{color:#fff !important;border-bottom-color:rgba(255,255,255,.22) !important;}
body[data-theme="blush"] .sidebar .logo span{color:#fff !important;}
body[data-theme="blush"] .nav a{color:rgba(255,255,255,.92) !important;}
body[data-theme="blush"] .nav a:hover{
  color:#fff !important;
  background:linear-gradient(90deg,rgba(255,255,255,.22),rgba(255,255,255,.06)) !important;
}
/* 选中：白底 + 玫红字（在玫红侧栏上最清楚） */
body[data-theme="blush"] .sidebar .nav a.active{
  background-color:#ffffff !important;
  background-image:linear-gradient(180deg,#fff,#ffeef2) !important;
  color:#C9556A !important;
  font-weight:700 !important;
  box-shadow:0 8px 18px -12px rgba(90,20,35,.7), inset 0 1px 0 rgba(255,255,255,1) !important;
}
body[data-theme="blush"] .sidebar .nav a.active .ico{color:#C9556A !important;}
body[data-theme="blush"] .sidebar .nav a.active::before{
  content:'' !important;display:block !important;position:absolute !important;
  left:0 !important;top:50% !important;transform:translateY(-50%) !important;
  width:3px !important;height:56% !important;border-radius:0 3px 3px 0 !important;
  background:#E0687C !important;
}
body[data-theme="blush"] .sidebar .user-box{
  border-top-color:rgba(255,255,255,.24) !important;color:rgba(255,255,255,.9) !important;
}
body[data-theme="blush"] .sidebar .user-box .name{color:#fff !important;}
body[data-theme="blush"] .sidebar .nav-group{color:rgba(255,255,255,.72) !important;}
body[data-theme="blush"] .sidebar .nav-badge{background:#fff !important;color:#C9556A !important;}

/* ===== v985 柔雾：恢复浅粉侧栏 + 玫红选中块 ===== */
body[data-theme="blush"] .sidebar{
  background-color:#fff6f8 !important;
  background-image:linear-gradient(180deg,#fff6f8 0%,#ffe9ee 55%,#ffdfe7 100%) !important;
  border-right:1px solid rgba(224,104,124,.22) !important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.75), 14px 0 36px -32px rgba(224,104,124,.55) !important;
}
body[data-theme="blush"] .sidebar::before{
  background:linear-gradient(115deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,0) 42%,rgba(255,255,255,.34) 100%) !important;
}
body[data-theme="blush"] .sidebar::after{
  background:linear-gradient(90deg,#f08a9b,#e0b070,#c4b5fd) !important;
  height:4px !important;opacity:1 !important;
}
body[data-theme="blush"] .sidebar .logo{color:#6d2b3a !important;border-bottom-color:rgba(224,104,124,.16) !important;}
body[data-theme="blush"] .sidebar .logo span{color:#6d2b3a !important;}
body[data-theme="blush"] .nav a{color:#8a4a58 !important;}
body[data-theme="blush"] .nav a:hover{
  color:#5f2230 !important;
  background:linear-gradient(90deg,rgba(224,104,124,.16),rgba(224,104,124,.03)) !important;
}
body[data-theme="blush"] .sidebar .nav a.active{
  background-color:#e0687c !important;
  background-image:none !important;
  color:#fff !important;
  font-weight:700 !important;
  box-shadow:0 8px 18px -12px rgba(224,104,124,.95), inset 0 1px 0 rgba(255,255,255,.35) !important;
}
body[data-theme="blush"] .sidebar .nav a.active .ico{color:#fff !important;}
body[data-theme="blush"] .sidebar .nav a.active::before{
  content:'' !important;display:block !important;position:absolute !important;
  left:0 !important;top:50% !important;transform:translateY(-50%) !important;
  width:3px !important;height:56% !important;border-radius:0 3px 3px 0 !important;
  background:#fff !important;opacity:.9 !important;
}
body[data-theme="blush"] .sidebar .user-box{
  border-top-color:rgba(224,104,124,.18) !important;color:#8a4a58 !important;
}
body[data-theme="blush"] .sidebar .user-box .name{color:#5f2230 !important;}
body[data-theme="blush"] .sidebar .nav-group{color:#b9808c !important;}
body[data-theme="blush"] .sidebar .nav-badge{background:#e0687c !important;color:#fff !important;}


/* ================= v985 首页图标 C 样式：彩色扁平渐变（每项专属配色，替代原统一蓝色立体渐变） ================= */
html.force-m .hm-cell .hm-ico,
html.force-m .hm-more-grid .hm-cell .hm-ico{
  background:linear-gradient(155deg,var(--c1,#FF9A76) 0%,var(--c2,#F5503C) 100%) !important;
  box-shadow:0 4px 10px -4px var(--cs,rgba(245,80,60,.42)) !important;
  border-radius:13px !important;
  color:#fff !important;
}
html.force-m .hm-cell .hm-ico svg{filter:drop-shadow(0 1px 1px rgba(0,0,0,.12));}
/* 收银开单 */
html.force-m .hm-cell[data-k="pos"] .hm-ico{--c1:#FF9A76;--c2:#F5503C;--cs:rgba(245,80,60,.42);}
html.force-m .hm-cell[data-k="member"] .hm-ico{--c1:#FF8FB3;--c2:#F2527E;--cs:rgba(242,82,126,.42);}
html.force-m .hm-cell[data-k="order"] .hm-ico{--c1:#6FB6FF;--c2:#2F7CF6;--cs:rgba(47,124,246,.42);}
html.force-m .hm-cell[data-k="money"] .hm-ico{--c1:#FFC06B;--c2:#F58B2E;--cs:rgba(245,139,46,.42);}
html.force-m .hm-cell[data-k="appt"] .hm-ico{--c1:#5EE0D6;--c2:#17A99F;--cs:rgba(23,169,159,.42);}
/* 门店管理 */
html.force-m .hm-cell[data-k="service"] .hm-ico{--c1:#B49AFF;--c2:#7C5CF5;--cs:rgba(124,92,245,.42);}
html.force-m .hm-cell[data-k="staff"] .hm-ico{--c1:#6CD6A8;--c2:#2FA878;--cs:rgba(47,168,120,.42);}
html.force-m .hm-cell[data-k="expense"] .hm-ico{--c1:#E8B787;--c2:#C98A4B;--cs:rgba(201,138,75,.42);}
html.force-m .hm-cell[data-k="market"] .hm-ico{--c1:#FF7A8A;--c2:#E8435C;--cs:rgba(232,67,92,.42);}
html.force-m .hm-cell[data-k="report"] .hm-ico{--c1:#6FB1FF;--c2:#2E6FE0;--cs:rgba(46,111,224,.42);}
html.force-m .hm-cell[data-k="payroll"] .hm-ico{--c1:#7FE0A4;--c2:#35B66E;--cs:rgba(53,182,110,.42);}
html.force-m .hm-cell[data-k="kpi"] .hm-ico{--c1:#FFD46B;--c2:#F0A31E;--cs:rgba(240,163,30,.42);}
html.force-m .hm-cell[data-k="community"] .hm-ico{--c1:#66D9F0;--c2:#22A6C9;--cs:rgba(34,166,201,.42);}
html.force-m .hm-cell[data-k="settings"] .hm-ico{--c1:#A9B7C9;--c2:#71809B;--cs:rgba(113,128,155,.42);}
/* 更多功能 */
html.force-m .hm-cell[data-k="inventory"] .hm-ico{--c1:#B5CE6E;--c2:#7FA832;--cs:rgba(127,168,50,.42);}
html.force-m .hm-cell[data-k="schedule"] .hm-ico{--c1:#8FA0FF;--c2:#5B6CE8;--cs:rgba(91,108,232,.42);}
html.force-m .hm-cell[data-k="chain"] .hm-ico{--c1:#63E0C4;--c2:#23B79A;--cs:rgba(35,183,154,.42);}
html.force-m .hm-cell[data-k="takeout"] .hm-ico{--c1:#FFB066;--c2:#F07F28;--cs:rgba(240,127,40,.42);}
html.force-m .hm-cell[data-k="data"] .hm-ico{--c1:#9FA8FF;--c2:#6A6CF0;--cs:rgba(106,108,240,.42);}
html.force-m .hm-cell[data-k="records"] .hm-ico{--c1:#F08A8A;--c2:#CE5656;--cs:rgba(206,86,86,.42);}
html.force-m .hm-cell[data-k="oplogs"] .hm-ico{--c1:#9FAEC2;--c2:#6E7F95;--cs:rgba(110,127,149,.42);}
html.force-m .hm-cell[data-k="home"] .hm-ico{--c1:#FFC56B;--c2:#F0A31E;--cs:rgba(240,163,30,.42);}
html.force-m .hm-cell[data-k="more"] .hm-ico{--c1:#A9B7C9;--c2:#71809B;--cs:rgba(113,128,155,.42);}

/* ===== v987 会员详情：手机端卡片叠放（同 PC），去掉白色蒙层 ===== */
.mdbm-cards.deck{
  display:block !important;position:relative !important;
  width:262px !important;height:122px !important;perspective:720px;
  margin:6px auto 8px;
}
.mdbm-cards.deck .md-card{
  position:absolute !important;top:8px !important;
  width:142px !important;height:88px !important;border-radius:12px !important;
  overflow:hidden;cursor:pointer;transform-origin:center bottom;
  box-shadow:-2px 4px 12px rgba(31,33,30,.18);
  transition:transform .3s cubic-bezier(.22,.68,.32,1.02),left .3s cubic-bezier(.22,.68,.32,1.02),box-shadow .3s ease !important;
}
.mdbm-cards.deck .md-card:nth-child(1){left:0 !important;z-index:3 !important;transform:rotate(-1.6deg) !important;}
.mdbm-cards.deck .md-card:nth-child(2){left:60px !important;z-index:2 !important;transform:rotate(-0.2deg) !important;}
.mdbm-cards.deck .md-card:nth-child(3){left:120px !important;z-index:1 !important;transform:rotate(1.2deg) !important;}
.mdbm-cards.deck .md-card:nth-child(4){left:160px !important;z-index:1 !important;transform:rotate(2deg) !important;}
.mdbm-cards.deck .md-card:nth-child(n+5){left:172px !important;z-index:1 !important;transform:rotate(2.4deg) !important;}
.mdbm-cards.deck .md-card:hover,
.mdbm-cards.deck .md-card.sel{
  z-index:99 !important;transform:translateY(-10px) rotate(0deg) scale(1.06) !important;
  box-shadow:0 20px 34px rgba(15,23,42,.30) !important;
}
.mdbm-cards.deck .mcard-lg{max-width:142px !important;border-radius:12px !important;padding:9px 11px !important;}
.mdbm-cards.deck .mcard-lg-top{font-size:6.5px !important;letter-spacing:.2px;}
.mdbm-cards.deck .mcard-lg-mid{font-size:16px !important;line-height:1.05;}
.mdbm-cards.deck .mcard-lg-name{font-size:10px !important;}
.mdbm-cards.deck .mcard-lg-sub,
.mdbm-cards.deck .mcard-lg-bot{font-size:6.5px !important;}
/* 去掉压在卡片上的白色蒙层/光晕 */
.mdb-cards .md-card::after,
.mdbm-cards .md-card::after,
.md-card::after{display:none !important;content:none !important;}
.mdb-cards.deck .md-card:not(:nth-child(1)),
.mdbm-cards.deck .md-card:not(:nth-child(1)){filter:none !important;opacity:1 !important;}

/* ===== v989 手机首页图标：彩色扁平渐变（方案C） ===== */
html.force-m .hm-cell .hm-ico{
  border-radius:24% !important;
  background-image:linear-gradient(160deg,var(--c1),var(--c2)) !important;
  box-shadow:0 8px 18px -12px var(--cs), inset 0 1px 0 rgba(255,255,255,.22) !important;
  border:0 !important;
}
html.force-m .hm-cell .hm-ico svg{color:#fff !important;filter:none !important;}
html.force-m .hm-cell .hm-ico::before,
html.force-m .hm-cell .hm-ico::after{display:none !important;content:none !important;}

/* 收银台 · 红 */
html.force-m .hm-cell[data-k="pos"] .hm-ico{--c1:#FF7A63;--c2:#F5333A;--cs:rgba(245,51,58,.45);}
/* 今日数据 · 橙 */
html.force-m .hm-cell[data-k="data"] .hm-ico{--c1:#FFB45C;--c2:#FF8A34;--cs:rgba(255,138,52,.45);}
/* 订单管理 · 黄 */
html.force-m .hm-cell[data-k="orders"] .hm-ico{--c1:#FFD863;--c2:#F2B01E;--cs:rgba(242,176,30,.45);}
/* 预约管理 · 蓝 */
html.force-m .hm-cell[data-k="appointments"] .hm-ico{--c1:#7CC0FF;--c2:#2F80ED;--cs:rgba(47,128,237,.45);}
/* 会员管理 · 紫 */
html.force-m .hm-cell[data-k="members"] .hm-ico{--c1:#B08CFF;--c2:#7B4DFF;--cs:rgba(123,77,255,.45);}
/* 营销中心 · 红 */
html.force-m .hm-cell[data-k="marketing"] .hm-ico{--c1:#FF7A7A;--c2:#F03E3E;--cs:rgba(240,62,62,.45);}
/* 服务项目 · 橙 */
html.force-m .hm-cell[data-k="services"] .hm-ico{--c1:#FFAE5C;--c2:#F76707;--cs:rgba(247,103,7,.45);}
/* 员工管理 · 绿 */
html.force-m .hm-cell[data-k="staff"] .hm-ico{--c1:#9BE59F;--c2:#37B24D;--cs:rgba(55,178,77,.45);}
/* 库存管理 · 蓝 */
html.force-m .hm-cell[data-k="inventory"] .hm-ico{--c1:#7FC4FF;--c2:#1C7ED6;--cs:rgba(28,126,214,.45);}
/* 支出记账 · 紫 */
html.force-m .hm-cell[data-k="expenses"] .hm-ico{--c1:#B79BFF;--c2:#7048E8;--cs:rgba(112,72,232,.45);}
/* 定金管理 · 红橙 */
html.force-m .hm-cell[data-k="deposit"] .hm-ico{--c1:#FF9270;--c2:#F25C2A;--cs:rgba(242,92,42,.45);}
/* 收银交接班 · 橙黄 */
html.force-m .hm-cell[data-k="shift"] .hm-ico{--c1:#FFC061;--c2:#F59F00;--cs:rgba(245,159,0,.45);}
/* 次卡到期 · 橙 */
html.force-m .hm-cell[data-k="expiring"] .hm-ico{--c1:#FFB061;--c2:#F08C00;--cs:rgba(240,140,0,.45);}
/* 经营报表 · 绿 */
html.force-m .hm-cell[data-k="report"] .hm-ico{--c1:#8FE08F;--c2:#2F9E44;--cs:rgba(47,158,68,.45);}
/* 工资结算 · 蓝 */
html.force-m .hm-cell[data-k="payroll"] .hm-ico{--c1:#7FC4FF;--c2:#1971C2;--cs:rgba(25,113,194,.45);}
/* 员工考核 · 紫 */
html.force-m .hm-cell[data-k="kpi"] .hm-ico{--c1:#FFD56B;--c2:#F59F00;--cs:rgba(245,159,0,.45);}
/* 社区门户 · 蓝 */
html.force-m .hm-cell[data-k="community"] .hm-ico{--c1:#77C8FF;--c2:#228BE6;--cs:rgba(34,139,230,.45);}
/* 连锁管理 · 橙 */
html.force-m .hm-cell[data-k="chain"] .hm-ico{--c1:#FFAE6B;--c2:#E8590C;--cs:rgba(232,89,12,.45);}
/* 打卡考勤 · 绿 */
html.force-m .hm-cell[data-k="schedule"] .hm-ico{--c1:#96E0A8;--c2:#2B8A3E;--cs:rgba(43,138,62,.45);}
/* 作废/删除记录 · 蓝灰 */
html.force-m .hm-cell[data-k="records"] .hm-ico{--c1:#8FB6E8;--c2:#4A6FA5;--cs:rgba(74,111,165,.45);}
/* 操作日志 · 灰蓝 */
html.force-m .hm-cell[data-k="oplogs"] .hm-ico{--c1:#A8BBD4;--c2:#6B7F99;--cs:rgba(107,127,153,.45);}
/* 系统设置 · 靛 */
html.force-m .hm-cell[data-k="settings"] .hm-ico{--c1:#9AA8FF;--c2:#5C6BC0;--cs:rgba(92,107,192,.45);}
/* 更多功能 */
html.force-m .hm-cell[data-k="more"] .hm-ico{--c1:#B6C2D4;--c2:#78889D;--cs:rgba(120,136,157,.45);}

/* ===== v990 修正 data-k 配色映射（pos / member / order / money / appt / service / staff / expense / market / report / payroll / kpi / community / settings ...） ===== */
html.force-m .hm-cell[data-k="pos"] .hm-ico{--c1:#FF7A63;--c2:#F5333A;--cs:rgba(245,51,58,.45);}
html.force-m .hm-cell[data-k="member"] .hm-ico{--c1:#FF9BB6;--c2:#F0508E;--cs:rgba(240,80,142,.45);}
html.force-m .hm-cell[data-k="order"] .hm-ico{--c1:#FFD863;--c2:#F2B01E;--cs:rgba(242,176,30,.45);}
html.force-m .hm-cell[data-k="money"] .hm-ico{--c1:#FFB45C;--c2:#F2802A;--cs:rgba(242,128,42,.45);}
html.force-m .hm-cell[data-k="appt"] .hm-ico{--c1:#7CC0FF;--c2:#2F80ED;--cs:rgba(47,128,237,.45);}
html.force-m .hm-cell[data-k="service"] .hm-ico{--c1:#FFAE5C;--c2:#F76707;--cs:rgba(247,103,7,.45);}
html.force-m .hm-cell[data-k="staff"] .hm-ico{--c1:#9BE59F;--c2:#37B24D;--cs:rgba(55,178,77,.45);}
html.force-m .hm-cell[data-k="expense"] .hm-ico{--c1:#B79BFF;--c2:#7048E8;--cs:rgba(112,72,232,.45);}
html.force-m .hm-cell[data-k="market"] .hm-ico{--c1:#FF7A7A;--c2:#F03E3E;--cs:rgba(240,62,62,.45);}
html.force-m .hm-cell[data-k="report"] .hm-ico{--c1:#8FE08F;--c2:#2F9E44;--cs:rgba(47,158,68,.45);}
html.force-m .hm-cell[data-k="payroll"] .hm-ico{--c1:#7FC4FF;--c2:#1971C2;--cs:rgba(25,113,194,.45);}
html.force-m .hm-cell[data-k="kpi"] .hm-ico{--c1:#A9A0FF;--c2:#6C5CE7;--cs:rgba(108,92,231,.45);}
html.force-m .hm-cell[data-k="community"] .hm-ico{--c1:#77C8FF;--c2:#228BE6;--cs:rgba(34,139,230,.45);}
html.force-m .hm-cell[data-k="settings"] .hm-ico{--c1:#9AA8FF;--c2:#5C6BC0;--cs:rgba(92,107,192,.45);}
html.force-m .hm-cell[data-k="data"] .hm-ico{--c1:#FFB45C;--c2:#FF8A34;--cs:rgba(255,138,52,.45);}
html.force-m .hm-cell[data-k="schedule"] .hm-ico{--c1:#96E0A8;--c2:#2B8A3E;--cs:rgba(43,138,62,.45);}
/* 更多功能里常见的几项 */
html.force-m .hm-cell[data-k="inventory"] .hm-ico{--c1:#7FC4FF;--c2:#1C7ED6;--cs:rgba(28,126,214,.45);}
html.force-m .hm-cell[data-k="deposit"] .hm-ico{--c1:#FF9270;--c2:#F25C2A;--cs:rgba(242,92,42,.45);}
html.force-m .hm-cell[data-k="shift"] .hm-ico{--c1:#FFC061;--c2:#F59F00;--cs:rgba(245,159,0,.45);}
html.force-m .hm-cell[data-k="records"] .hm-ico{--c1:#8FB6E8;--c2:#4A6FA5;--cs:rgba(74,111,165,.45);}
html.force-m .hm-cell[data-k="oplogs"] .hm-ico{--c1:#A8BBD4;--c2:#6B7F99;--cs:rgba(107,127,153,.45);}
html.force-m .hm-cell[data-k="chain"] .hm-ico{--c1:#FFAE6B;--c2:#E8590C;--cs:rgba(232,89,12,.45);}
html.force-m .hm-cell[data-k="expiring"] .hm-ico{--c1:#FFB061;--c2:#F08C00;--cs:rgba(240,140,0,.45);}
html.force-m .hm-cell[data-k="takeout"] .hm-ico{--c1:#7FD8C4;--c2:#12B886;--cs:rgba(18,184,134,.45);}
html.force-m .hm-cell[data-k="more"] .hm-ico{--c1:#B6C2D4;--c2:#78889D;--cs:rgba(120,136,157,.45);}

/* ===== v998 支出记账页 ===== */
.ex-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.ex-kpi{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:#fff;
  border:1px solid var(--line);box-shadow:0 10px 24px -22px rgba(15,23,42,.7);}
.ex-kpi-ic{width:36px;height:36px;flex:none;border-radius:12px;display:grid;place-items:center;font-size:16px;background:#f6f8fb;}
.ex-kpi .lb{display:block;font-size:11.5px;color:var(--ink-3,#8a94a6);}
.ex-kpi b{display:block;font-size:19px;font-weight:800;color:#0f172a;line-height:1.2;letter-spacing:-.4px;}
.ex-kpi i{font-style:normal;font-size:10.5px;color:#9aa4b2;}
.ex-kpi.main{background:linear-gradient(160deg,#fff5f6,#ffe9ec);border-color:#fbd5da;}
.ex-kpi.main b{color:#D6006E;}
.ex-kpi.main .ex-kpi-ic{background:#ffe1e6;}
.ex-kpi.ratio b{color:#0d9488;}
.ex-kpi.ratio .ex-kpi-ic{background:#e6f7f1;}

.ex-grid2{display:grid;grid-template-columns:1.45fr 1fr;gap:12px;margin-bottom:12px;}
.ex-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 14px;}
.ex-hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px;}
.ex-hd b{font-size:13.5px;font-weight:800;color:#0f172a;}
.ex-sub{font-size:11.5px;color:#9aa4b2;}

.ex-trend{display:flex;align-items:flex-end;gap:6px;height:132px;padding:16px 2px 0;overflow-x:auto;}
.ex-bar-col{flex:1;min-width:22px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;}
.ex-bar{width:74%;min-height:6px;max-height:86%;border-radius:6px 6px 3px 3px;position:relative;
  background:linear-gradient(180deg,#FF9CCB,#FF2D8A);transition:height .3s;}
.ex-bar span{position:absolute;top:-14px;left:50%;transform:translateX(-50%);font-size:9.5px;color:#D6006E;font-weight:700;white-space:nowrap;}
.ex-bar-col i{font-style:normal;font-size:9.5px;color:#9aa4b2;margin-top:4px;}

.ex-cats{display:flex;flex-direction:column;gap:2px;}
.ex-cat-row{display:flex;align-items:center;gap:8px;padding:6px 2px;border:0;background:transparent;cursor:pointer;border-radius:8px;text-align:left;}
.ex-cat-row:hover{background:#f7f9fc;}
.ex-cat-row.on{background:#fff1f3;}
.ex-dot{width:8px;height:8px;border-radius:50%;flex:none;}
.ex-cat-name{width:38px;flex:none;font-size:12px;color:#334155;font-weight:600;}
.ex-cat-bar{flex:1;height:6px;border-radius:3px;background:#f1f4f8;overflow:hidden;}
.ex-cat-bar i{display:block;height:100%;border-radius:3px;transition:width .3s;}
.ex-cat-amt{flex:none;font-size:12px;font-weight:700;color:#0f172a;min-width:64px;text-align:right;}
.ex-cat-n{flex:none;font-size:10.5px;color:#9aa4b2;min-width:32px;text-align:right;}

.ex-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;}
.ex-seg{display:flex;gap:4px;background:#f4f6fa;padding:4px;border-radius:12px;}
.ex-seg button{height:28px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#5b6472;font-size:12.5px;font-weight:600;cursor:pointer;}
.ex-seg button.on{background:#fff;color:#0f172a;box-shadow:0 2px 8px rgba(15,23,42,.12);}
.ex-toolbar .input{height:34px;width:auto;min-width:120px;font-size:13px;}
.ex-kw{flex:1;min-width:160px;}
.ex-tilde{color:#94a3b8;font-size:12px;}

.ex-list{display:flex;flex-direction:column;gap:8px;}
.ex-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#fff;
  border:1px solid var(--line);box-shadow:0 8px 20px -22px rgba(15,23,42,.8);transition:transform .14s,box-shadow .14s;}
.ex-item:hover{transform:translateY(-1px);box-shadow:0 14px 26px -22px rgba(15,23,42,.9);}
.ex-ico{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;font-size:18px;}
.ex-main{flex:1;min-width:0;}
.ex-l1{display:flex;align-items:center;gap:6px;}
.ex-l1 b{font-size:14px;color:#0f172a;}
.ex-tag{font-size:10px;padding:1px 7px;border-radius:7px;background:#eef2f7;color:#5b6472;}
.ex-vendor{font-size:11.5px;color:#8a94a6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ex-l2{font-size:12.5px;color:#4b5563;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ex-l3{font-size:11px;color:#9aa4b2;margin-top:2px;}
.ex-right{flex:none;text-align:right;}
.ex-right b{display:block;font-size:15px;font-weight:800;color:#D6006E;letter-spacing:-.2px;}
.ex-acts{display:flex;gap:6px;justify-content:flex-end;margin-top:4px;}
.ex-act{border:1px solid var(--line);background:#fff;color:#5b6472;font-size:11px;padding:3px 9px;border-radius:8px;cursor:pointer;}
.ex-act:hover{background:#f7f9fc;}
.ex-act.danger{color:#D6006E;border-color:#fbd5da;}
.ex-act.danger:hover{background:#fff5f6;}
.ex-empty{padding:24px;text-align:center;color:#9aa4b2;font-size:12.5px;}
.ex-empty-big{grid-column:1/-1;}

@media (max-width:1080px){
  .ex-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .ex-kpi{padding:10px 12px;}
  .ex-kpi b{font-size:17px;}
  .ex-grid2{grid-template-columns:1fr;}
  .ex-trend{height:108px;}
  .ex-toolbar{gap:6px;}
  .ex-seg{width:100%;overflow-x:auto;flex-wrap:nowrap;}
  .ex-seg button{flex:none;}
  .ex-toolbar .input{flex:1 1 40%;min-width:0;}
  .ex-kw{flex:1 1 100% !important;}
  .ex-item{padding:11px 12px;gap:10px;}
  .ex-ico{width:36px;height:36px;font-size:16px;}
  .ex-right b{font-size:14px;}
  .ex-cat-name{width:34px;}
  .ex-cat-n{display:none;}
}

/* v999 支出页细节 */
.ex-bar{max-width:118px;}
.ex-bar-col{min-width:34px;}
@media (max-width:1080px){
  .ex-kpi.ratio{grid-column:span 2;}
  .ex-list{padding-bottom:12px;}
  .page-head{flex-wrap:wrap;gap:8px;}
  .page-head .btn{font-size:12.5px;height:34px;padding:0 12px;}
}

/* v1001 支出页手机端底部留白，避免被底栏挡住 */
@media (max-width:1080px){
  .ex-list{padding-bottom:92px;}
  .ex-toolbar{margin-bottom:12px;}
}

/* ===== v1008 支出：审批 / 预算 / 票据 ===== */
.ex-up{color:#D6006E;font-weight:700;}
.ex-down{color:#0d9488;font-weight:700;}
.ex-pending-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-4px 0 12px;padding:10px 14px;border-radius:14px;
  background:linear-gradient(135deg,#fff7ed,#ffedd5);border:1px solid #fcd9a8;color:#9a5b12;font-size:13px;}
.ex-pending-bar b{color:#c2410c;}
.ex-pending-bar .btn{margin-left:auto;}

.ex-sum{font-size:12.5px;color:#64748b;margin-left:auto;white-space:nowrap;}
.ex-sum b{font-size:14px;}

.ex-cat-amt.over{color:#D6006E;}
.ex-cat-amt em{font-style:normal;font-size:10.5px;color:#9aa4b2;font-weight:600;}

.ex-tag.warn{background:#fff4e5;color:#b45309;}
.ex-tag.danger{background:#fee9e9;color:#D6006E;}
.ex-tag.receipt{background:#eef2ff;color:#4f46e5;cursor:pointer;}
.ex-item.pending{border-color:#fcd9a8;background:linear-gradient(180deg,#fffdf8,#fff);}
.ex-act.ok{color:#0d9488;border-color:#bfe5df;}
.ex-act.ok:hover{background:#effaf8;}

/* 预算弹窗 */
.ex-budget-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.ex-budget-row{display:flex;align-items:center;gap:8px;}
.ex-budget-name{width:40px;font-size:12.5px;color:#334155;}
.ex-budget-in{flex:1;height:34px;font-size:13px;}

/* 定期支出弹窗 */
.ex-rec-list{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow:auto;}
.ex-rec-row{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;}
.ex-rec-main{flex:1;min-width:0;}
.ex-rec-main b{display:block;font-size:13px;color:#0f172a;}
.ex-rec-main i{display:block;font-style:normal;font-size:11.5px;color:#94a3b8;margin-top:1px;}

/* 票据上传 */
.ef-receipt{display:flex;align-items:center;gap:10px;}
.ef-receipt-add{height:38px;padding:0 14px;border-radius:10px;border:1px dashed #cbd5e1;background:#f8fafc;color:#475569;font-size:13px;cursor:pointer;}
.ef-receipt-add:hover{background:#f1f5f9;}
.ef-prev{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--line);}

@media (max-width:1080px){
  .ex-budget-grid{grid-template-columns:1fr;}
  .ex-sum{margin-left:0;width:100%;text-align:right;}
}

/* ===== v1010 支出趋势：细条 + 滑动 ===== */
.ex-trend{display:flex;align-items:flex-end;gap:0;height:148px;padding:18px 0 0;overflow-x:auto;overflow-y:hidden;
  scrollbar-width:thin;-webkit-overflow-scrolling:touch;}
.ex-trend::-webkit-scrollbar{height:5px;}
.ex-trend::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px;}
.ex-bar-col{flex:0 0 auto;width:26px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;}
.ex-bar{width:8px;min-height:3px;max-height:88%;border-radius:4px;position:relative;transition:height .25s;
  box-shadow:none;}
.ex-bar span{position:absolute;top:-13px;left:50%;transform:translateX(-50%);font-size:8.5px;color:#64748b;font-weight:700;white-space:nowrap;}
.ex-bar-col i{font-style:normal;font-size:9px;color:#94a3b8;margin-top:5px;line-height:1;white-space:nowrap;}
.ex-bar-col:hover i{color:#0f172a;font-weight:700;}
@media (max-width:1080px){
  .ex-trend{height:132px;}
  .ex-bar-col{width:24px;}
  .ex-bar{width:7px;}
}

/* v1012 分类排行不溢出 + 趋势滚动条更细 */
.ex-cat-row{width:100%;overflow:hidden;}
.ex-cat-bar{min-width:0;}
.ex-cat-name{flex:none;}
.ex-cat-amt{flex:none;}
@media (max-width:1080px){
  .ex-cat-amt{min-width:58px;font-size:11.5px;}
  .ex-trend{padding-right:12px;}
}

/* v1013 分类排行改 grid，彻底避免溢出 */
.ex-cat-row{display:grid !important;grid-template-columns:10px 40px minmax(0,1fr) auto auto !important;
  align-items:center;gap:8px;width:100%;box-sizing:border-box;overflow:hidden;}
.ex-cat-bar{width:100%;min-width:0;}
.ex-cat-amt{min-width:0;white-space:nowrap;}
.ex-cat-n{min-width:0;white-space:nowrap;}
@media (max-width:1080px){
  .ex-cat-row{grid-template-columns:10px 34px minmax(0,1fr) auto !important;}
  .ex-cat-n{display:none !important;}
}

/* v1014 分类行：金额在条形左侧 */
.ex-cat-row{grid-template-columns:10px 40px auto minmax(0,1fr) auto !important;}
.ex-cat-amt{text-align:left !important;}
@media (max-width:1080px){
  .ex-cat-row{grid-template-columns:10px 34px auto minmax(0,1fr) !important;}
}

/* v1015 修复支出页横向溢出（卡片被内容撑宽） */
.ex-grid2{min-width:0;}
.ex-grid2>*{min-width:0;}
.ex-card{min-width:0;overflow:hidden;}
.ex-trend{min-width:0;max-width:100%;}
.ex-cats{min-width:0;}
.ex-list{min-width:0;}

/* v1016 支出明细：电脑端两列 */
.ex-list{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.ex-item{min-width:0;}
@media (max-width:1080px){ .ex-list{grid-template-columns:1fr;gap:8px;} }

/* ===== v1023 订单/定金 tab 与定金样式 ===== */
.pg-tabbar{display:inline-flex;gap:4px;background:#f4f6fa;padding:4px;border-radius:12px;margin-bottom:12px;}
.pg-tab{height:32px;padding:0 16px;border:0;border-radius:9px;background:transparent;color:#5b6472;font-size:13px;font-weight:600;cursor:pointer;}
.pg-tab.on{background:#fff;color:#0f172a;box-shadow:0 2px 8px rgba(15,23,42,.12);}
html.force-m .pg-tabbar{display:flex;width:100%;margin:0 0 10px;}
html.force-m .pg-tab{flex:1;height:34px;font-size:13px;}

.dp-mlist{display:flex;flex-direction:column;gap:6px;margin-top:8px;max-height:180px;overflow:auto;}
.dp-mrow{display:flex;gap:8px;align-items:baseline;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;text-align:left;}
.dp-mrow b{font-size:13px;color:#0f172a;}
.dp-mrow span{font-size:11.5px;color:#94a3b8;}
.dp-mrow.on{border-color:#D6006E;background:#fff5f6;}

.dp-fin-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:12px;
  background:linear-gradient(135deg,#fdf2f8,#fce7f3);border:1px solid #fbcfe8;}
.dp-fin-head b{font-size:14px;color:#9d174d;}
.dp-fin-head span{display:block;font-size:11.5px;color:#be185d;margin-top:2px;}
.dp-fin-dep{font-size:12px;color:#9d174d;}
.dp-fin-dep b{font-size:16px;}
.dp-fin-tail{margin-top:10px;text-align:right;font-size:13px;color:#64748b;}
.dp-fin-tail b{font-size:18px;color:#D6006E;}
.ex-tag.ok{background:#e6f7f1;color:#0f766e;}

/* ===== v1028 订单/定金 tab 彩色 ===== */
.pg-tabbar{background:transparent !important;padding:0 !important;gap:8px !important;}
.pg-tab{border:1px solid transparent !important;font-weight:700 !important;}
.pg-tab.tone-blue{background:#eef4ff !important;color:#2563eb !important;border-color:#dbe7ff !important;}
.pg-tab.tone-pink{background:#fff1f5 !important;color:#db2777 !important;border-color:#fbd5e3 !important;}
.pg-tab.tone-blue.on{background:linear-gradient(135deg,#3b82f6,#2563eb) !important;color:#fff !important;border-color:transparent !important;
  box-shadow:0 8px 18px -12px rgba(37,99,235,.9) !important;}
.pg-tab.tone-pink.on{background:linear-gradient(135deg,#f472b6,#db2777) !important;color:#fff !important;border-color:transparent !important;
  box-shadow:0 8px 18px -12px rgba(219,39,119,.9) !important;}
html.force-m .pg-tabbar{gap:8px !important;}
html.force-m .pg-tab{height:38px !important;font-size:13.5px !important;}

/* v1031 订单页 tab 被 sticky 头部盖住 —— 提到上层并留出间距 */
.pg-tabbar{position:relative;z-index:21;margin-bottom:16px !important;}
html.force-m .pg-tabbar{z-index:31;}
.pg-tabbar .pg-tab{position:relative;z-index:1;}

/* v1032 会员搜索提示 */
.dp-mtip{font-size:11.5px;color:#94a3b8;padding:4px 2px 2px;}
.dp-mtip.ok{color:#0d9488;font-weight:600;}
.dp-mrow b{min-width:56px;}
.dp-mrow span{flex:1;}

/* v1033 手机端弹窗不超出屏幕，底部按钮始终可见 */
@media (max-width:1080px){
  .modal-mask .modal{width:calc(100% - 16px) !important;max-width:calc(100% - 16px) !important;max-height:90vh !important;}
  .modal-mask .modal-body{max-height:calc(90vh - 132px) !important;overflow-y:auto !important;}
  .modal-mask .modal-foot{position:sticky;bottom:0;background:#fff;z-index:2;}
}

/* v1035 定金空状态引导 */
.dp-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:26px 18px;border-radius:16px;background:#fff;border:1px dashed #e2e8f0;}
.dp-empty-ico{font-size:34px;line-height:1;}
.dp-empty b{font-size:15px;color:#0f172a;}
.dp-empty p{font-size:12.5px;color:#8a94a6;line-height:1.7;max-width:420px;}
.dp-steps{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:4px 0 6px;}
.dp-steps span{display:flex;align-items:center;gap:6px;font-size:12px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:6px 10px;}
.dp-steps i{font-style:normal;width:16px;height:16px;border-radius:50%;background:#D6006E;color:#fff;font-size:10px;display:grid;place-items:center;}

/* v1036 搜索候选行：高对比 + 不裁字 */
.dp-mlist{overflow-x:hidden !important;padding:2px 0;}
.dp-mrow{background:#f5f7fb !important;border:1px solid #dde5f0 !important;border-radius:10px;overflow:hidden;align-items:center;gap:10px;}
.dp-mrow:hover{background:#e9f1ff !important;border-color:#b9d4ff !important;}
.dp-mrow.on{background:#fff1f4 !important;border-color:#f5a3b5 !important;}
.dp-mrow b{flex:none;min-width:0 !important;max-width:46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#0f172a !important;font-weight:700;}
.dp-mrow span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5b6b82 !important;}
.dp-mtip{color:#475569 !important;font-weight:600;}
/* 收银台/首页会员搜索下拉也加对比 */
.hh-drop .row{border-radius:9px;padding:7px 8px !important;}
.hh-drop .row:hover,.hh-drop .row.on{background:#eef4ff !important;}
.hh-drop .row:nth-child(even){background:#fafbfd;}

/* v1037 搜索行改为舒适可点高度 */
.dp-mrow{min-height:40px !important;padding:9px 12px !important;font-size:12.5px !important;}
.dp-mrow b,.dp-mrow span{line-height:1.35 !important;font-size:12.5px !important;}
.dp-mrow b{color:#0f172a !important;}
.dp-mrow span{color:#64748b !important;}

/* ===== v1038 按钮立体感（全局基础）+ 订单页 tab 留白 ===== */
.btn,.m-head-btn,.m-sub-btn,.pg-tab,.m-chip,.ex-act{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(15,23,42,.07), 0 3px 8px -5px rgba(15,23,42,.55);
  transition:transform .12s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover,.m-head-btn:hover,.m-sub-btn:hover,.pg-tab:hover,.m-chip:hover{transform:translateY(-1px);}
.btn:active,.m-head-btn:active,.m-sub-btn:active,.pg-tab:active,.m-chip:active,.ex-act:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(15,23,42,.18), 0 1px 2px rgba(15,23,42,.2);}
.btn-primary{box-shadow:inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.18), 0 8px 18px -10px rgba(179,0,92,.9), 0 2px 4px rgba(15,23,42,.12)!important;}
.pg-tab{box-shadow:inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 0 rgba(15,23,42,.06), 0 4px 10px -6px rgba(15,23,42,.55)!important;}
.pg-tab.tone-blue.on{box-shadow:inset 0 1px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.2), 0 10px 20px -10px rgba(37,99,235,.95)!important;}
.pg-tab.tone-pink.on{box-shadow:inset 0 1px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.2), 0 10px 20px -10px rgba(219,39,119,.95)!important;}
.pg-tabbar{padding-top:4px;}
html.force-m .pg-tabbar{margin-top:10px !important;margin-bottom:14px !important;}

/* ===== v1041 手机端定金页重排 ===== */
@media (max-width:1080px){
  #dp-kpis{display:flex !important;overflow-x:auto;gap:8px;margin-bottom:10px;padding-bottom:2px;scrollbar-width:none;}
  #dp-kpis::-webkit-scrollbar{display:none;}
  #dp-kpis .ex-kpi{flex:0 0 158px;padding:8px 12px;min-height:64px;}
  #dp-kpis .ex-kpi b{font-size:17px;}
  #dp-kpis .ex-kpi .lb{font-size:11px;}
  #dp-kpis .ex-kpi i{font-size:10px;}
  .dp-report-wrap{display:none;}
  .dp-report-wrap.on{display:block;}
  .dp-report-wrap .ex-grid2{gap:8px;}
  html.force-m .pg-tabbar{margin-bottom:6px !important;}
  .page-head .page-sub{display:none;}
}
@media (min-width:1081px){
  #dp-report-toggle{display:none;}
}

/* ===== v1044 定金获客渠道 / 收定金人 ===== */
.dp-src{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px;}
.dp-src-chip{height:30px;padding:0 12px;border-radius:15px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:12.5px;cursor:pointer;transition:.15s;}
.dp-src-chip:hover{background:#eef4ff;border-color:#bfd6ff;}
.dp-src-chip.on{background:linear-gradient(135deg,#f472b6,#db2777);border-color:transparent;color:#fff;box-shadow:0 6px 14px -10px rgba(219,39,119,.95);}
.ex-tag.src{background:#fdf2f8;color:#db2777;}
.dp-who{color:#64748b;font-weight:600;}
.dp-rank-hd{font-size:11.5px;font-weight:700;color:#94a3b8;margin:2px 0 4px;letter-spacing:.3px;}

/* v1046 收定金弹窗提示条 */
.dp-hint{font-size:12px;color:#64748b;background:#f6f8fc;border:1px solid #e6ecf5;border-radius:10px;padding:8px 10px;margin-bottom:12px;}
.dp-hint b{color:#0f172a;}

/* ===== v1054 收银台结算区不再重叠 ===== */
.pos-right:not(.m-checkout)>.card .pos-submit-bar{position:static !important;bottom:auto !important;left:auto !important;right:auto !important;margin:14px 0 0 !important;}
.pos-submit-row{display:flex !important;gap:10px !important;align-items:center !important;margin-top:10px !important;}
.pos-submit-row .btn{height:44px;}
.pos-right:not(.m-checkout) .pos-submit-bar .field label{display:block;margin-bottom:4px;white-space:nowrap;}
.pos-right:not(.m-checkout) .pos-submit-bar .form-row{margin-bottom:0 !important;}

/* v1057 定金徽章 */
.badge-dep{background:#fdf2f8 !important;color:#db2777 !important;font-weight:700;}

/* v1058 报表头部拆分 */
.ch-detail-split{font-size:12.5px;color:#64748b;margin-left:10px;}
.ch-detail-split b{font-weight:800;}

/* v1061 明细分段标签 */
.ch-seg{display:inline-block;margin-right:8px;font-size:12.5px;color:#64748b;}
.ch-seg b{color:#0f172a;font-weight:800;margin-left:2px;}
.ch-seg.dep b{color:#db2777;}
.kpi-deposit .kpi-value{color:#db2777;}

/* ===== v1064 收银交接班 ===== */
.sh-start{display:flex;gap:14px;padding:18px;border-radius:16px;background:linear-gradient(150deg,#fffdf6,#fff7e8);
  border:1px solid #f3e3c3;box-shadow:0 12px 28px -24px rgba(146,110,30,.6);}
.sh-start-ic{font-size:30px;line-height:1;}
.sh-start-main{flex:1;min-width:0;}
.sh-start-main>b{font-size:15px;color:#7c4a03;}
.sh-start-main>p{font-size:12.5px;color:#a16207;margin:4px 0 12px;line-height:1.6;}
.sh-start-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;}
.sh-start-row .field{margin:0;}

.sh-live{border-radius:16px;background:#fff;border:1px solid #d7f0e4;
  box-shadow:0 14px 30px -26px rgba(13,148,136,.6);padding:14px 16px;}
.sh-live-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
.sh-live-dot{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.18);}
.sh-live-hd b{font-size:14px;color:#065f46;}
.sh-live-who{font-size:13px;font-weight:700;color:#0f172a;}
.sh-live-time,.sh-live-open{font-size:12px;color:#64748b;}
.sh-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
.sh-kpi{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:10px 12px;}
.sh-kpi .lb{display:block;font-size:11px;color:#8a94a6;}
.sh-kpi b{display:block;font-size:17px;font-weight:800;color:#0f172a;letter-spacing:-.3px;}
.sh-kpi i{font-style:normal;font-size:10px;color:#9aa4b2;}
.sh-kpi.main{background:linear-gradient(150deg,#ecfdf5,#d1fae5);border-color:#a7f3d0;}
.sh-kpi.main b{color:#047857;font-size:19px;}
.sh-sub{margin-top:10px;font-size:12px;color:#64748b;}
.sh-sub b{color:#0f172a;}

.sh-history-wrap{padding:14px 16px;}
.sh-hist-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap;}
.sh-hist-hd b{font-size:13.5px;color:#0f172a;}
.sh-hist-sum{font-size:12.5px;color:#64748b;margin-bottom:8px;}
.sh-hist-sum b{color:#0f172a;}
.sh-hist-list{display:flex;flex-direction:column;gap:8px;}
.sh-hist-row{display:flex;align-items:center;gap:14px;padding:10px 12px;border:1px solid #eef2f7;border-radius:12px;background:#fff;}
.sh-hist-l{flex:none;min-width:150px;}
.sh-hist-l b{display:block;font-size:13px;color:#0f172a;}
.sh-hist-l span{display:block;font-size:11px;color:#94a3b8;}
.sh-hist-m{flex:1;display:flex;gap:14px;flex-wrap:wrap;font-size:11.5px;color:#8a94a6;}
.sh-hist-m b{color:#334155;font-weight:700;}
.sh-hist-r{flex:none;text-align:right;}
.sh-hist-r b{display:block;font-size:15px;font-weight:800;color:#0f172a;}
.sh-diff-tag{font-style:normal;font-size:11px;padding:1px 7px;border-radius:7px;}
.sh-diff-tag.ok{background:#e6f7f1;color:#0f766e;}
.sh-diff-tag.plus{background:#fff4e5;color:#b45309;}
.sh-diff-tag.minus{background:#fee9e9;color:#D6006E;}
.sh-empty{padding:20px;text-align:center;color:#9aa4b2;font-size:12.5px;}

.sh-close-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:12px;
  background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #a7f3d0;}
.sh-close-hd b{font-size:14px;color:#065f46;}
.sh-close-hd span{display:block;font-size:11.5px;color:#0f766e;margin-top:2px;}
.sh-close-total{font-size:12px;color:#0f766e;}
.sh-close-total b{font-size:17px;}
.sh-close-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;}
.sh-close-grid>div{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:8px 10px;}
.sh-close-grid span{display:block;font-size:11px;color:#8a94a6;}
.sh-close-grid b{font-size:14px;color:#0f172a;}
.sh-expect{margin-top:10px;font-size:13px;color:#334155;text-align:right;}
.sh-expect b{font-size:18px;color:#0f766e;}
.sh-diff{margin-top:6px;font-size:12.5px;text-align:right;color:#64748b;}
.sh-diff.ok{color:#0f766e;font-weight:700;}
.sh-diff.plus{color:#b45309;font-weight:700;}
.sh-diff.minus{color:#D6006E;font-weight:700;}

@media (max-width:1080px){
  .sh-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}
  .sh-kpi b{font-size:15px;}
  .sh-kpi.main{grid-column:span 3;}
  .sh-hist-row{flex-wrap:wrap;gap:8px;}
  .sh-hist-m{order:3;width:100%;gap:10px;}
  .sh-close-grid{grid-template-columns:repeat(2,1fr);}
}

/* ===== v1072 交接班布局修正 ===== */
.sh-start{padding-bottom:16px;}
.sh-start-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;}
.sh-start-row .field{margin:0;}
.sh-start-note{margin:12px 0 0 !important;}
.sh-start-note .input{width:100%;}
.sh-close-note{margin:14px 0 0 !important;}
.sh-live-who{font-size:14px;font-weight:800;color:#0f172a;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;padding:2px 10px;}
.sh-hist-l b{font-size:13.5px;}

/* ===== v1075 次卡到期入口 chip ===== */
.mem-fchip-link{border-style:dashed !important;border-color:#f0b8c8 !important;color:#B3005C !important;background:#fff7fa !important;}
.mem-fchip-link:hover{background:#ffeef4 !important;border-color:#e78ba8 !important;}

/* ===== v1078 会员详情充值记录 ===== */
.md-log-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px;}
.md-log-sum>div{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:8px 12px;}
.md-log-sum span{display:block;font-size:11px;color:#8a94a6;}
.md-log-sum b{font-size:15px;color:#0f172a;}
.md-log-sum>div:first-child b{color:#D6006E;}
@media(max-width:1080px){.md-log-sum{grid-template-columns:repeat(3,1fr);gap:6px;}.md-log-sum b{font-size:13px;}}

/* ===== v1081 储值流水行 ===== */
.md-row-go{font-size:11px;color:#94a3b8;margin-left:4px;opacity:0;transition:.15s;}
tr:hover .md-row-go{opacity:1;color:#D6006E;}
tr[data-view]{transition:background .15s;}
tr[data-view]:hover{background:#fff7fa;}

/* ===== v1083 性别按钮（电脑端） ===== */
.mfg-seg{display:inline-flex;gap:6px;}
.mfg-seg button{height:36px;min-width:66px;padding:0 16px;border-radius:9px;border:1px solid #DED3C1;background:#fff;color:#3A3D38;font-size:13.5px;cursor:pointer;transition:.15s;}
.mfg-seg button:hover{border-color:#E9A3B6;color:#A8123F;}
.mfg-seg button.on{background:linear-gradient(180deg,#C81E4A,#A8123F);border-color:#A8123F;color:#fff;font-weight:600;box-shadow:0 4px 10px -6px rgba(168,18,63,.9);}

/* ===== v1089 扣次分成布局 ===== */
.ml-usegrid{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;margin:8px 0 6px;}
.ml-use-peruse{font-size:12px;color:#0f766e;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:9px;padding:7px 10px;margin-bottom:10px;}
.ml-use-peruse b{color:#047857;}
.ml-use-pos-hd{font-size:11.5px;color:#8a94a6;margin:6px 0 6px;}
.ml-dc-row{display:flex;align-items:center;gap:12px;padding:6px 10px;border:1px solid #eef2f7;border-radius:9px;margin-bottom:6px;background:#fbfcfe;}
.ml-dc-pos{min-width:64px;font-weight:600;color:#334155;font-size:13px;}
.ml-dc-amt{flex:1;font-size:12.5px;color:#64748b;}
.ml-dc-none{font-size:12px;color:#64748b;display:flex;align-items:center;gap:5px;}
@media(max-width:1080px){.ml-usegrid{grid-template-columns:1fr;}}


/* ===== v1102 输入框宽度（只改宽度，不动布局） ===== */
@media (min-width:1081px){
  #mf-name{width:170px;max-width:100%;}
  #mf-phone{width:200px;max-width:100%;}
  #mf-birthday{width:170px;max-width:100%;}
  #mf-cardno{width:110px;max-width:100%;}
  #mf-level{width:230px;max-width:100%;}
  #mf-recharge{width:140px;max-width:100%;}
  #mf-gift{width:140px;max-width:100%;}
  #mf-opener{width:230px;max-width:100%;}
  #ml-name{width:250px;max-width:100%;}
  #ml-cardnum{width:110px;max-width:100%;}
  #ml-card-price{width:132px;max-width:100%;}
  #ml-use-value{width:112px;max-width:100%;}
  #ml-use-mode{width:300px;max-width:100%;}
  #ml-recharge-rate,#ml-open-rate{width:104px;max-width:100%;}
  #ml-gift-base,#ml-gift-amt{width:132px;max-width:100%;}
}

/* ===== v1103 等级表单：标签左列 + 表格化职位行 ===== */
@media (min-width:1081px){
  #ml-form-wrap .form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 30px;}
  #ml-form-wrap .form-row > .field{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:10px;margin:0;}
  #ml-form-wrap .field > label{text-align:right;font-size:12.5px;color:#64748b;margin:0;line-height:1.35;}
  #ml-form-wrap .field > .input,
  #ml-form-wrap .field > .select{width:100% !important;max-width:100%;}
  #ml-form-wrap .field > *:nth-child(n+3){grid-column:2;}
  #ml-form-wrap #ml-use-mode{width:100% !important;}
}
#ml-usesplit-wrap{border:1px solid #eef2f7;border-radius:12px;padding:12px 14px;background:#fbfcfe;}
#ml-usesplit-wrap > label{display:block;font-size:12.5px;font-weight:700;color:#334155;margin-bottom:8px;}
.ml-usegrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(120px,1fr);gap:12px;align-items:end;margin-bottom:8px;}
.up-head,.up-row{display:grid;grid-template-columns:88px minmax(120px,190px) 1fr;align-items:center;gap:12px;}
.up-head{font-size:11.5px;color:#8a94a6;padding:0 2px 6px;}
.up-row{padding:5px 2px;border-top:1px dashed #eef2f7;}
.up-pos{font-weight:600;color:#334155;font-size:13px;}
.up-amt{position:relative;display:flex;align-items:center;}
.up-amt .input{width:100% !important;}
.up-none{font-size:12px;color:#64748b;display:flex;align-items:center;gap:6px;}
.up-none input{accent-color:#A8123F;}

/* ===== v1104 扣次分成区排版修正 ===== */
#ml-usesplit-wrap > label{display:block !important;text-align:left !important;font-size:13px !important;font-weight:700 !important;color:#334155 !important;margin:0 0 10px !important;}
#ml-usesplit-wrap .ml-usegrid .field{display:block !important;}
#ml-usesplit-wrap .ml-usegrid .field > label{display:block !important;text-align:left !important;font-size:12px !important;color:#64748b !important;margin:0 0 5px !important;}
#ml-usesplit-wrap .ml-usegrid .select,
#ml-usesplit-wrap .ml-usegrid .input{width:100% !important;}

/* ===== v1107 扣次职位行两列 ===== */
.up-head,.up-row{grid-template-columns:96px minmax(140px,220px) !important;}
.up-head span:last-child{font-weight:400;}

/* ===== v1111 经营报表：核心指标分级 ===== */
#rp-body .stat-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:10px !important;}
#rp-body .stat-grid .stat-card{padding:10px 12px !important;border-radius:12px !important;}
#rp-body .stat-grid .stat-card .label{font-size:11.5px !important;}
#rp-body .stat-grid .stat-card .value{font-size:18px !important;font-weight:700;letter-spacing:-.2px;}
#rp-body .stat-grid .stat-card .sub{font-size:10.5px !important;}

/* 前 5 张 = 核心（营业额/实收/支出/提成/净利） */
#rp-body .stat-grid .stat-card:nth-child(-n+5){
  padding:14px 16px !important;
  border:1px solid #f1dfe5 !important;
  background:linear-gradient(160deg,#fffdfd,#fdf6f7) !important;
  box-shadow:0 8px 20px -18px rgba(168,18,63,.55);
}
#rp-body .stat-grid .stat-card:nth-child(-n+5) .label{font-size:12.5px !important;font-weight:700;color:#8a5b68 !important;}
#rp-body .stat-grid .stat-card:nth-child(-n+5) .value{font-size:25px !important;font-weight:800;letter-spacing:-.6px;}
#rp-body .stat-grid .stat-card:nth-child(-n+5) .sub{font-size:11px !important;color:#a08b92 !important;}

/* 第 6 张起 = 次级，弱化 */
#rp-body .stat-grid .stat-card:nth-child(n+6){background:#fbfcfd !important;border:1px solid #eef2f7 !important;}
#rp-body .stat-grid .stat-card:nth-child(n+6) .value{color:#334155 !important;}

@media (max-width:1400px){ #rp-body .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;} }
@media (max-width:1080px){ #rp-body .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;} }

/* ===== v1114 报表分组标题 ===== */
#rp-body .stat-grid .rp-group{
  grid-column:1/-1;
  display:flex;align-items:center;gap:8px;
  margin:6px 0 -2px;
  font-size:12.5px;font-weight:700;color:#8a94a6;letter-spacing:.3px;
}
#rp-body .stat-grid .rp-group::before{
  content:'';width:3px;height:13px;border-radius:2px;background:#A8123F;opacity:.75;
}
#rp-body .stat-grid .rp-group::after{
  content:'';flex:1;height:1px;background:#eef2f7;
}

/* ===== v1118 报表 P1：成本结构 / 客户结构 ===== */
.rp-cost-row{display:grid;grid-template-columns:74px minmax(0,1fr) 108px;align-items:center;gap:10px;padding:5px 0;}
.rp-cost-name{font-size:12.5px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rp-cost-bar{height:8px;border-radius:5px;background:#f1f5f9;overflow:hidden;}
.rp-cost-bar i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#f59e0b,#D6006E);}
.rp-cost-amt{font-size:13px;font-weight:700;color:#0f172a;text-align:right;}
.rp-cost-amt em{display:block;font-style:normal;font-size:10.5px;color:#94a3b8;font-weight:500;}
.rp-cust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.rp-cust-cell{border-radius:12px;padding:12px 14px;border:1px solid #eef2f7;background:#fbfcfd;}
.rp-cust-cell span{display:block;font-size:11.5px;color:#8a94a6;}
.rp-cust-cell b{display:block;font-size:22px;font-weight:800;letter-spacing:-.5px;margin:2px 0 2px;color:#0f172a;}
.rp-cust-cell i{font-style:normal;font-size:10.5px;color:#9aa4b2;}
.rp-cust-cell.pink{background:linear-gradient(160deg,#fff7fa,#fdf2f6);border-color:#f3dfe5;}
.rp-cust-cell.pink b{color:#a8123f;}
.rp-cust-cell.teal{background:linear-gradient(160deg,#f2fbf8,#ecfdf5);border-color:#d7f0e4;}
.rp-cust-cell.teal b{color:#0f766e;}
.rp-cust-cell.amber{background:linear-gradient(160deg,#fffbf2,#fff7ed);border-color:#f5e3c8;}
.rp-cust-cell.amber b{color:#b45309;}
@media (max-width:1080px){.rp-cust{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* ===== v1121 单日经营数据弹窗 ===== */
.dr-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px;}
.dr-kpi{background:#fbfcfd;border:1px solid #eef2f7;border-radius:11px;padding:9px 11px;}
.dr-kpi span{display:block;font-size:11px;color:#8a94a6;}
.dr-kpi b{display:block;font-size:17px;font-weight:800;color:#0f172a;letter-spacing:-.4px;margin:1px 0;}
.dr-kpi i{font-style:normal;font-size:10px;color:#9aa4b2;}
.dr-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px;}
.dr-t{font-size:12px;font-weight:700;color:#475569;margin-bottom:6px;padding-left:2px;}
.dr-li{display:flex;align-items:baseline;gap:8px;padding:5px 2px;border-bottom:1px dashed #f1f5f9;font-size:12.5px;}
.dr-li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334155;}
.dr-li b{color:#0f172a;font-weight:700;}
.dr-li i{font-style:normal;font-size:11px;color:#94a3b8;}
.dr-empty{font-size:12px;color:#9aa4b2;padding:8px 2px;}
@media (max-width:1080px){.dr-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}.dr-cols{grid-template-columns:1fr;}}

/* ===== v1128 工资条发放弹窗 ===== */
.pp-slip{border:1px solid #eef2f7;border-radius:12px;padding:12px 14px;background:#fbfcfe;}
.pp-hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px;padding-bottom:8px;border-bottom:1px dashed #e2e8f0;}
.pp-hd b{font-size:14.5px;color:#0f172a;}
.pp-hd span{font-size:11.5px;color:#94a3b8;}
.pp-line{display:flex;justify-content:space-between;font-size:13px;padding:4px 0;color:#334155;}
.pp-line b{font-weight:700;color:#0f172a;}
.pp-line.dec b{color:#D6006E;}
.pp-sum{display:flex;justify-content:space-between;font-size:12.5px;color:#64748b;padding:7px 0;margin-top:4px;border-top:1px dashed #e2e8f0;}
.pp-sum b{color:#0f172a;}
.pp-final{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px;padding-top:9px;border-top:2px solid #f1dfe5;}
.pp-final span{font-size:13px;color:#8a5b68;font-weight:700;}
.pp-final b{font-size:22px;font-weight:800;color:#a8123f;letter-spacing:-.5px;}
.pp-note{margin-top:6px;font-size:11.5px;color:#94a3b8;text-align:right;}

/* ===== v1136 工资编辑-明细小结 ===== */
.pe-detail{margin:10px 0 6px;border:1px solid #eef2f7;border-radius:11px;padding:9px 12px;background:#fbfcfe;}
.pe-d-row{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:#64748b;padding:3px 0;}
.pe-d-row b{color:#0f172a;font-weight:700;}
.pe-d-total{display:flex;justify-content:space-between;margin-top:6px;padding-top:7px;border-top:1px dashed #e2e8f0;font-size:13px;color:#8a5b68;font-weight:700;}
.pe-d-total b{color:#a8123f;font-size:17px;}

/* ===== v1137 弹窗按钮/白块修正 ===== */
.modal-mask .modal-foot .btn-primary{
  background:linear-gradient(180deg,#D6006E,#A50055) !important;
  border:0 !important;color:#fff !important;
  box-shadow:0 6px 16px -8px rgba(168,18,63,.7) !important;
}
.modal-mask .modal-foot .btn-primary:hover{filter:brightness(1.05);}
.pp-slip{margin-bottom:0 !important;}
.modal-mask .modal-body{padding-bottom:6px;}

/* ===== v1139 工资明细：预支 + 修改记录 ===== */
#pd-extra{margin-top:14px;padding-top:12px;border-top:1px dashed #e2e8f0;}
.pd-hd{font-size:12.5px;font-weight:700;color:#475569;margin-bottom:6px;}
.pd-line{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:#334155;padding:5px 0;border-bottom:1px dashed #f1f5f9;line-height:1.5;}
.pd-line b{color:#0f172a;white-space:nowrap;}
.pd-empty{font-size:12px;color:#9aa4b2;padding:4px 0;}

/* ===== v1140 工资明细：统计卡上移 + 日期 ===== */
#pd-extra .pd-dates{font-size:11.5px;color:#94a3b8;margin-bottom:8px;}
.pd-lift{margin:0 0 12px !important;}
.pd-lift + *{margin-top:0 !important;}

/* 明细日期行弱化显示 */
.pe-d-date b{color:#64748b;font-weight:600;}
.pe-d-date{border-bottom:1px dashed #f1f5f9;margin-bottom:2px;}

/* 编辑弹窗里的修改记录 */
.pe-logs-wrap{margin-top:10px;border:1px solid #eef2f7;border-radius:11px;padding:9px 12px;background:#fff;}
.pe-logs{max-height:150px;overflow-y:auto;}

/* ===== v1147 明细顶部：工资条样式 ===== */
.pl-strip{border:1px solid #e6ebf2;border-radius:10px;overflow:auto;margin-bottom:12px;background:#fff;}
.pl-strip-row{display:table;width:100%;border-collapse:collapse;min-width:760px;}
.pl-cell{display:table-cell;padding:8px 10px;border-right:1px solid #eef2f7;text-align:center;vertical-align:middle;white-space:nowrap;}
.pl-cell:last-child{border-right:0;}
.pl-cell span{display:block;font-size:11px;color:#8a94a6;margin-bottom:2px;}
.pl-cell b{font-size:14px;font-weight:800;color:#0f172a;}
.pl-cell.in b{color:#0f766e;}
.pl-cell.out b{color:#D6006E;}
.pl-cell.total{background:#fdf2f6;}
.pl-cell.total b{color:#a8123f;font-size:15px;}

/* v1149 明细块保留（去掉日期与奖金明细） */

/* ===== v1155 预支弹窗：头像选择 + 明细 ===== */
.adv-avs{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 8px;}
.adv-av{border:0;background:none;padding:0;cursor:pointer;text-align:center;flex:0 0 auto;opacity:.55;transition:opacity .15s,transform .15s;}
.adv-av img,.adv-av>div{width:46px;height:46px;border-radius:50%;object-fit:cover;display:block;margin:0 auto;}
.adv-av em{display:block;font-style:normal;font-size:10.5px;color:#64748b;margin-top:3px;max-width:52px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.adv-av.on{opacity:1;transform:translateY(-2px);}
.adv-av.on img,.adv-av.on>div{box-shadow:0 0 0 3px rgba(168,18,63,.35);}
.adv-sum{display:flex;justify-content:space-between;font-size:12.5px;color:#64748b;padding:6px 0;border-bottom:1px dashed #e2e8f0;margin-bottom:6px;}
.adv-sum b{color:#0f172a;}
.adv-line{display:flex;justify-content:space-between;font-size:12.5px;padding:4px 0;}
.adv-line b{color:#D6006E;}
.adv-empty{font-size:12px;color:#9aa4b2;padding:4px 0;}
.adv-more{font-size:11.5px;color:#94a3b8;margin-top:6px;line-height:1.6;}

/* 预支头像：所有形态都圆形 */
.adv-av > *:first-child{width:46px !important;height:46px !important;border-radius:50% !important;overflow:hidden;display:flex !important;align-items:center;justify-content:center;margin:0 auto;font-size:13px;}
.adv-av img{width:46px !important;height:46px !important;border-radius:50% !important;object-fit:cover;}
.adv-hd{font-size:11.5px;font-weight:700;color:#94a3b8;margin:8px 0 4px;}
.adv-line span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* ===== v1157 预支头像全亮 ===== */
.adv-av{opacity:1 !important;}
.adv-av img,.adv-av > *:first-child{opacity:1 !important;filter:none !important;}
.adv-av:not(.on) img,.adv-av:not(.on) > *:first-child{opacity:.92 !important;}
.adv-line span{white-space:normal !important;}

/* 预支历史备注 */
.adv-note{font-size:11.5px;color:#94a3b8;padding:0 0 5px 2px;}

/* ===== v1160 明细顶部大头像 ===== */
.pd-hero{display:flex;justify-content:center;padding:2px 0 14px;}
.pd-ring{width:92px;height:92px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#f9a8c0,#a8123f 55%,#f5c76a);box-shadow:0 10px 24px -14px rgba(168,18,63,.8);}
.pd-ring img,.pd-ring span{width:100%;height:100%;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;}

/* ===== v1161 大头像压住弹窗上边框 ===== */
.pd-hero{position:absolute !important;top:-48px !important;left:50% !important;transform:translateX(-50%) !important;
  display:flex !important;justify-content:center !important;padding:0 !important;z-index:6;pointer-events:none;}
.pd-ring{width:96px !important;height:96px !important;position:relative;background:linear-gradient(135deg,#f9a8c0,#a8123f 55%,#f5c76a);
  box-shadow:0 14px 28px -12px rgba(168,18,63,.55),0 0 0 4px #fff;}
.modal-mask .modal-head,.modal-mask .modal-header{padding-top:18px;}

/* v1162 大头像允许溢出弹窗（仅含大头像的弹窗） */
.modal-mask:has(.pd-hero){overflow:visible !important;}
.modal-mask:has(.pd-hero) > .modal{overflow:visible !important;margin-top:56px !important;}
.pd-hero{top:-48px !important;}

/* v1163 大头像：圆心落在弹窗上边框 */
.modal-mask:has(.pd-hero) > .modal{margin-top:64px !important;}
.pd-hero{top:0 !important;transform:translate(-50%,-50%) !important;}
.pd-ring{box-shadow:0 16px 30px -14px rgba(168,18,63,.6),0 0 0 5px #fff !important;}

/* v1164 定位基准修正：大头像相对弹窗卡片定位 */
.modal-mask:has(.pd-hero) > .modal{position:relative !important;}
.modal-mask:has(.pd-hero) .modal-body{overflow:visible !important;}
.pd-hero{position:absolute !important;top:0 !important;left:50% !important;transform:translate(-50%,-50%) !important;}

/* ===== v1165 大头像通用（电脑端 116px） ===== */
.modal.has-hero{position:relative !important;overflow:visible !important;margin-top:70px !important;}
.modal.has-hero .modal-body{overflow:visible !important;}
.modal.has-hero .pd-hero{position:absolute !important;top:0 !important;left:50% !important;transform:translate(-50%,-50%) !important;z-index:6;pointer-events:none;margin:0 !important;}
.modal.has-hero .pd-ring{width:116px !important;height:116px !important;padding:4px;box-shadow:0 18px 34px -16px rgba(168,18,63,.62),0 0 0 5px #fff !important;}
.modal.has-hero .pd-ring img,.modal.has-hero .pd-ring span{font-size:38px !important;}
.modal-mask:has(.has-hero){overflow:visible !important;}
@media (max-width:1080px){
  .modal.has-hero .pd-ring{width:92px !important;height:92px !important;}
  .modal.has-hero{margin-top:56px !important;}
}

/* 统一 116px：覆盖旧的 96 规则 */
.modal-mask .pd-ring{width:116px !important;height:116px !important;}
.modal-mask .pd-hero .pd-ring img,.modal-mask .pd-hero .pd-ring span{font-size:38px !important;}
@media (max-width:1080px){.modal-mask .pd-ring{width:92px !important;height:92px !important;}}

/* ===== v1167 弹窗内容不溢出 ===== */
.modal.has-hero .modal-body{overflow-x:hidden !important;max-width:100%;}
.modal.has-hero .modal-body .pl-strip{max-width:100%;overflow-x:auto;}
.modal.has-hero .modal-body .pl-strip-row{min-width:640px;}
.modal.has-hero .modal-body .table,
.modal.has-hero .modal-body .table-wrap{max-width:100%;}
.modal.has-hero .modal-body .table-wrap{overflow-x:auto;}
.modal.has-hero .modal-body > *{max-width:100%;box-sizing:border-box;}

/* ===== v1168 弹窗宽度与头像按视口自适应 ===== */
.modal-mask .modal.has-hero{
  width:min(1080px, 92vw) !important;
  max-width:92vw !important;
}
.modal-mask .modal.has-hero .pd-ring{
  width:clamp(84px, 7.5vw, 116px) !important;
  height:clamp(84px, 7.5vw, 116px) !important;
}
.modal-mask .modal.has-hero .pd-hero{top:0 !important;}
.modal-mask .modal.has-hero .modal-body{padding-left:16px !important;padding-right:16px !important;}
.modal-mask .modal.has-hero .table{width:100% !important;table-layout:fixed;}
.modal-mask .modal.has-hero .table th,
.modal-mask .modal.has-hero .table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* ===== v1169 弹窗纵向也不能溢出 ===== */
.modal-mask .modal.has-hero{
  display:flex !important;flex-direction:column !important;
  max-height:calc(100vh - 120px) !important;
  overflow:hidden !important;
}
.modal-mask .modal.has-hero .modal-head,
.modal-mask .modal.has-hero .modal-header,
.modal-mask .modal.has-hero .modal-foot{flex:0 0 auto;}
.modal-mask .modal.has-hero .modal-body{
  flex:1 1 auto !important;min-height:0 !important;
  overflow-y:auto !important;overflow-x:hidden !important;
  padding-bottom:26px !important;
}

/* v1170 头像要完整可见，内容在 body 内滚动 */
.modal-mask .modal.has-hero{overflow:visible !important;max-height:calc(100vh - 120px) !important;}
.modal-mask .modal.has-hero .modal-body{overflow-y:auto !important;overflow-x:hidden !important;}
.modal-mask .modal.has-hero .pd-hero{top:0 !important;}

/* ===== v1171 工资调整弹窗收窄（大框不合理） ===== */
.modal-mask .modal:has(#pe-bonus){width:min(620px, 92vw) !important;max-width:620px !important;}
.modal-mask .modal:has(#pe-bonus) .modal-body{padding:14px 18px !important;}
.modal-mask .modal:has(#pe-bonus) .form-row{display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px 18px !important;}
.modal-mask .modal:has(#pe-bonus) .field{margin-bottom:10px !important;}
.modal-mask .modal:has(#pe-bonus) .field > .input{width:100% !important;max-width:none !important;}
.modal-mask .modal:has(#pe-bonus) .pe-detail{padding:10px 12px !important;}
.modal-mask .modal:has(#pe-bonus) .pe-logs{max-height:150px;}

/* ===== v1172 调整弹窗：高度受控 + 内部滚动 ===== */
.modal-mask .modal:has(#pe-bonus){
  display:flex !important;flex-direction:column !important;
  max-height:calc(100vh - 140px) !important;
  overflow:hidden !important;
}
.modal-mask .modal:has(#pe-bonus) .modal-head,
.modal-mask .modal:has(#pe-bonus) .modal-header,
.modal-mask .modal:has(#pe-bonus) .modal-foot{flex:0 0 auto;}
.modal-mask .modal:has(#pe-bonus) .modal-body{
  flex:1 1 auto !important;min-height:0 !important;
  overflow-y:auto !important;overflow-x:hidden !important;
}


/* ===== v1173 只有明细弹窗用宽版；其他弹窗恢复自身宽度 ===== */
.modal-mask .modal.has-hero{width:auto !important;max-width:calc(100vw - 48px) !important;}
.modal-mask .modal.has-hero.pd-detail{width:min(1080px, 92%) !important;max-width:min(1080px, 92%) !important;}
.modal-mask .modal.has-hero:not(.pd-detail) .modal-body{max-height:none;}

/* ===== v1174 各弹窗固定合理宽度 ===== */
.modal-mask .modal.has-hero:not(.pd-detail){width:min(560px, 92vw) !important;}
.modal-mask .modal.has-hero:has(#plh-month){width:min(720px, 92vw) !important;}
.modal-mask .modal.has-hero:has(#adv-staff){width:min(560px, 92vw) !important;}
.modal-mask .modal.has-hero:not(.pd-detail) .modal-body{max-height:none;overflow-y:auto;}

/* v1175 工资历史弹窗宽度 */
.modal-mask .modal:has(#plh-month){width:min(720px, 92vw) !important;max-width:720px !important;}
.modal-mask .modal:has(#plh-month) .modal-body{overflow-x:hidden !important;}
.modal-mask .modal:has(#plh-month) .table{table-layout:fixed;width:100%;}

/* 实发为负：红底强调 */
.pl-cell.total.debt{background:#fef2f2 !important;}
.pl-cell.total.debt b{color:#D6006E !important;}
.pl-cell.total.debt span{color:#8A0047 !important;font-weight:700;}

/* 预支汇总行：窄屏自动换行，不挤压不裁切 */
.adv-sum{flex-wrap:wrap !important;gap:6px 14px !important;row-gap:6px !important;}
.adv-sum span{white-space:nowrap;}
.adv-line span{white-space:normal;word-break:break-all;}
.modal-mask .modal .modal-body{padding-bottom:22px;}

/* 大头像内的内容统一填满，避免渐变背景露出来 */
.pd-ring > *{width:100% !important;height:100% !important;border-radius:50% !important;object-fit:cover !important;margin:0 !important;}
.pd-ring > img{display:block !important;}
.pd-ring > span{display:flex !important;align-items:center !important;justify-content:center !important;}

/* ===== v1194 无照片头像：颜色与文字随容器放大，保持同一图案 ===== */
.pd-ring > span{
  width:100% !important;height:100% !important;border-radius:50% !important;
  display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
  padding:8px !important;box-sizing:border-box !important;color:#fff !important;
}
.pd-ring > span b{font-size:15px !important;line-height:1.2 !important;font-weight:800 !important;white-space:normal !important;}
.pd-ring > span i{font-size:11px !important;line-height:1.2 !important;font-style:normal !important;font-weight:600 !important;opacity:.9;margin-top:2px !important;}
.pd-ring{overflow:hidden;}

/* 明细大头像里的 fallback 也要填满 */
.pd-ring > .av-fallback{width:100% !important;height:100% !important;border-radius:50% !important;}

/* ===== v1198 手机端工资明细：重新排版 ===== */
@media (max-width: 640px){
  .modal-mask .modal.has-hero.pd-detail{width:calc(100% - 18px) !important;max-width:calc(100% - 18px) !important;max-height:calc(100vh - 90px) !important;margin-top:56px !important;}
  .modal-mask .modal.has-hero.pd-detail .modal-head{padding:12px 14px 10px !important;}
  .modal-mask .modal.has-hero.pd-detail .modal-title{font-size:15px !important;}
  .modal-mask .modal.has-hero.pd-detail .modal-body{padding:12px 12px 18px !important;}

  /* 顶部工资条：三列网格，不挤成一条 */
  .pd-detail .pl-strip{border-radius:10px;}
  .pd-detail .pl-strip-row{display:grid !important;grid-template-columns:repeat(3, 1fr) !important;min-width:0 !important;width:100% !important;}
  .pd-detail .pl-cell{display:block !important;border-right:0 !important;border-bottom:1px solid #f1f5f9;padding:7px 4px !important;text-align:center;}
  .pd-detail .pl-cell span{font-size:10.5px !important;}
  .pd-detail .pl-cell b{font-size:13px !important;}
  .pd-detail .pl-cell.total{grid-column:span 3;}

  /* 两张卡上下排 */
  .pd-detail .stat-grid.pg-g2{grid-template-columns:1fr !important;gap:10px !important;}
  .pd-detail .pl-cat{display:flex !important;flex-direction:column !important;gap:6px !important;}
  .pd-detail .pl-cat-item{display:flex !important;align-items:center !important;gap:8px !important;width:100% !important;}
  .pd-detail .pl-cat-item b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .pd-detail .pl-cat-item i{flex:none;font-size:11.5px;}
  .pd-detail .pl-cat-item em{flex:none;font-size:12.5px;}

  /* 明细表：只留 时间/项目/单价/提成，正常字号 */
  .pd-detail .table{table-layout:auto !important;}
  .pd-detail .table th,.pd-detail .table td{
    white-space:normal !important;overflow:visible !important;text-overflow:clip !important;
    font-size:12px !important;padding:8px 5px !important;
  }
  .pd-detail .table th:nth-child(2),.pd-detail .table td:nth-child(2),
  .pd-detail .table th:nth-child(3),.pd-detail .table td:nth-child(3),
  .pd-detail .table th:nth-child(6),.pd-detail .table td:nth-child(6){display:none !important;}

  /* 页脚按钮铺开，方便点 */
  .pd-detail .modal-foot{display:flex !important;gap:10px !important;padding:10px 12px !important;}
  .pd-detail .modal-foot .btn{flex:1;height:44px;font-size:14.5px;}
}

/* 手机端明细标题不被头像压住 */
@media (max-width: 640px){
  .pd-detail .modal-head{padding-top:30px !important;}
  .pd-detail .modal-title{padding-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 54px);}
  .pd-detail .modal-foot .btn-ghost{background:#fff !important;color:#334155 !important;box-shadow:inset 0 0 0 1px #e2e8f0 !important;}
}

/* ===== v1200 手机端：4 个指标卡一排 ===== */
@media (max-width: 640px){
  .pd-detail .stat-grid.pg-g4{grid-template-columns:repeat(4, 1fr) !important;gap:6px !important;}
  .pd-detail .stat-grid.pg-g4 .card.stat-card{padding:8px 5px !important;border-radius:10px !important;}
  .pd-detail .stat-grid.pg-g4 .card.stat-card .label{font-size:10px !important;line-height:1.2 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .pd-detail .stat-grid.pg-g4 .card.stat-card .value{font-size:14px !important;line-height:1.3 !important;margin-top:2px;}
  .pd-detail .stat-grid.pg-g4 .card.stat-card .sub{font-size:9.5px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}

/* 实发格里的欠款提示 */
.pl-cell.total i{display:block;font-style:normal;font-size:10.5px;line-height:1.3;margin-top:3px;color:#D6006E;font-weight:600;}
.pl-cell.total:not(.debt) i{color:#94a3b8;font-weight:500;}

/* 明细页脚三个按钮：编辑 / 结算 / 关闭 */
@media (max-width: 640px){
  .pd-detail .modal-foot{gap:8px !important;}
  .pd-detail .modal-foot .btn{flex:1;min-width:0;font-size:13.5px !important;padding:0 6px !important;}
  .pd-detail .modal-foot .btn-ghost{background:#fff !important;color:#334155 !important;box-shadow:inset 0 0 0 1px #e2e8f0 !important;}
}

/* ===== v1205 预支明细 / 修改记录：改为独立卡片行 ===== */
#pd-extra{max-width:640px;}
#pd-extra .pd-hd{font-size:13px;font-weight:800;color:#334155;margin:14px 0 8px;}
#pd-extra .pd-line{
  display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px;
  background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;
  padding:9px 12px !important;margin-bottom:7px;
}
#pd-extra .pd-line > span{flex:1;min-width:0;font-size:12.5px;line-height:1.45;color:#334155;}
#pd-extra .pd-line > b{flex:0 0 auto;font-size:15px;color:#0f172a;padding-left:10px;}
#pd-extra .pd-line:last-child{margin-bottom:0;}
#pd-extra .pd-empty{background:#f8fafc;border-radius:10px;padding:10px 12px;}

/* ===== v1206 预支明细 / 修改记录：一行 2 个 ===== */
#pd-extra{
  max-width:100% !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px 12px !important;
}
#pd-extra .pd-hd{grid-column:1 / -1 !important;margin:12px 0 2px !important;}
#pd-extra .pd-empty{grid-column:1 / -1 !important;}
#pd-extra .pd-line{margin-bottom:0 !important;width:100% !important;}
@media (max-width: 900px){
  #pd-extra{grid-template-columns:1fr !important;}
}

/* ===== v1207 工资明细：模块页签 ===== */
.pd-tabs{display:flex;gap:6px;margin:0 0 12px;flex-wrap:wrap;position:sticky;top:0;z-index:4;background:#fff;padding:2px 0 8px;}
.pd-tab{border:0;background:#f1f5f9;color:#475569;font-size:13px;font-weight:700;padding:7px 14px;border-radius:999px;cursor:pointer;}
.pd-tab.on{background:#a8123f;color:#fff;box-shadow:0 6px 14px -8px rgba(168,18,63,.8);}
.pd-pane{display:block;}
@media (max-width: 640px){
  .pd-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;}
  .pd-tab{flex:0 0 auto;font-size:12.5px;padding:6px 12px;}
}

/* ===== v1208 页签：滑块特效 + 切换不跳动 ===== */
.pd-tabs{position:relative;display:flex;gap:6px;margin:0 0 12px;flex-wrap:wrap;position:sticky;top:0;z-index:4;background:#fff;padding:2px 0 8px;}
.pd-tab{position:relative;z-index:2;border:0;background:transparent;color:#475569;font-size:13px;font-weight:700;padding:7px 14px;border-radius:999px;cursor:pointer;transition:color .22s;}
.pd-tab.on{color:#fff;}
.pd-tab-ink{position:absolute;top:2px;left:0;width:0;height:32px;border-radius:999px;background:linear-gradient(135deg,#B3005C,#a8123f);box-shadow:0 8px 18px -10px rgba(168,18,63,.9);z-index:1;transition:left .3s cubic-bezier(.34,1.3,.5,1), width .3s cubic-bezier(.34,1.3,.5,1);}
.pd-pane{min-height:420px;}
@media (max-width: 900px){ .pd-pane{min-height:360px;} }
@media (max-width: 640px){
  .pd-pane{min-height:300px;}
  .pd-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;scrollbar-width:none;}
  .pd-tabs::-webkit-scrollbar{display:none;}
  .pd-tab{flex:0 0 auto;font-size:12.5px;padding:6px 12px;}
}

/* ===== v1209 页签内容固定高度，切换不跳动 ===== */
.pd-pane{
  height:clamp(320px, 56vh, 540px) !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:2px;
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}
.pd-pane::-webkit-scrollbar{width:6px;}
.pd-pane::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px;}
.pd-pane::-webkit-scrollbar-track{background:transparent;}
@media (max-width: 640px){ .pd-pane{height:clamp(280px, 52vh, 460px) !important;} }

/* ===== v1213 工资表：加了勾选列后不横向溢出 ===== */
.table-wrap:has(#pl-tbody) .table th,
.table-wrap:has(#pl-tbody) .table td{padding:9px 6px !important;font-size:12.5px !important;}
.table-wrap:has(#pl-tbody) .table .btn-sm{padding:4px 9px !important;font-size:12px !important;}
.table-wrap:has(#pl-tbody) .table th:first-child,
.table-wrap:has(#pl-tbody) .table td:first-child{width:34px;padding-left:8px !important;}
@media (max-width: 1500px){
  .table-wrap:has(#pl-tbody) .table th:nth-child(4),
  .table-wrap:has(#pl-tbody) .table td:nth-child(4){display:none;}   /* 隐藏「部门」列，信息在头像旁已有 */
}

/* ===== v1215 工资表随窗口宽度自动精简列（不挤压、不截断） ===== */
.table-wrap:has(#pl-tbody) .table th,
.table-wrap:has(#pl-tbody) .table td{white-space:nowrap !important;overflow:visible !important;text-overflow:clip !important;}
.table-wrap:has(#pl-tbody) .table td .num,
.table-wrap:has(#pl-tbody) .table td[class*="num"]{white-space:nowrap !important;}

/* 逐级隐藏次要列：部门 → 奖金 → 扣款 → 状态 → 底薪 */
@media (max-width: 1560px){
  .table-wrap:has(#pl-tbody) th:nth-child(4), .table-wrap:has(#pl-tbody) td:nth-child(4){display:none !important;}
}
@media (max-width: 1360px){
  .table-wrap:has(#pl-tbody) th:nth-child(6), .table-wrap:has(#pl-tbody) td:nth-child(6){display:none !important;} /* 奖金 */
}
@media (max-width: 1200px){
  .table-wrap:has(#pl-tbody) th:nth-child(7), .table-wrap:has(#pl-tbody) td:nth-child(7){display:none !important;} /* 扣款 */
}
@media (max-width: 1080px){
  .table-wrap:has(#pl-tbody) th:nth-child(10), .table-wrap:has(#pl-tbody) td:nth-child(10){display:none !important;} /* 状态 */
}
@media (max-width: 960px){
  .table-wrap:has(#pl-tbody) th:nth-child(5), .table-wrap:has(#pl-tbody) td:nth-child(5){display:none !important;} /* 底薪 */
}

/* ===== v1216 修正列索引：按「员工/部门/底薪/提成/奖金/扣款/预支/应发/已发差额/状态/操作」 ===== */
.table-wrap:has(#pl-tbody) th:nth-child(10),
.table-wrap:has(#pl-tbody) td:nth-child(10){display:table-cell !important;}   /* 已发/差额永远显示 */

@media (max-width: 1560px){
  .table-wrap:has(#pl-tbody) th:nth-child(3), .table-wrap:has(#pl-tbody) td:nth-child(3){display:none !important;} /* 部门 */
  .table-wrap:has(#pl-tbody) th:nth-child(4), .table-wrap:has(#pl-tbody) td:nth-child(4){display:table-cell !important;}
}
@media (max-width: 1360px){
  .table-wrap:has(#pl-tbody) th:nth-child(4), .table-wrap:has(#pl-tbody) td:nth-child(4){display:none !important;} /* 底薪 */
  .table-wrap:has(#pl-tbody) th:nth-child(6), .table-wrap:has(#pl-tbody) td:nth-child(6){display:table-cell !important;}
}
@media (max-width: 1240px){
  .table-wrap:has(#pl-tbody) th:nth-child(6), .table-wrap:has(#pl-tbody) td:nth-child(6){display:none !important;} /* 奖金 */
  .table-wrap:has(#pl-tbody) th:nth-child(7), .table-wrap:has(#pl-tbody) td:nth-child(7){display:table-cell !important;}
}
@media (max-width: 1140px){
  .table-wrap:has(#pl-tbody) th:nth-child(7), .table-wrap:has(#pl-tbody) td:nth-child(7){display:none !important;} /* 扣款 */
  .table-wrap:has(#pl-tbody) th:nth-child(11), .table-wrap:has(#pl-tbody) td:nth-child(11){display:table-cell !important;}
}
@media (max-width: 1040px){
  .table-wrap:has(#pl-tbody) th:nth-child(11), .table-wrap:has(#pl-tbody) td:nth-child(11){display:none !important;} /* 状态 */
}
@media (max-width: 920px){
  .table-wrap:has(#pl-tbody) th:nth-child(8), .table-wrap:has(#pl-tbody) td:nth-child(8){display:none !important;} /* 预支 */
}

/* ===== v1218 会员表单：性别分段按钮不越界 ===== */
.mfg-seg{max-width:100% !important;box-sizing:border-box !important;flex-wrap:wrap;}
.mfg-seg button{min-width:0;}
.modal-body .mfg-seg + *{min-width:0;}

/* ===== v1221 手机端工资单历史：精简列，避免挤压 ===== */
@media (max-width: 640px){
  .modal-mask .modal:has(#plh-month) .table th,
  .modal-mask .modal:has(#plh-month) .table td{padding:8px 4px !important;font-size:12px !important;white-space:nowrap !important;overflow:visible !important;text-overflow:clip !important;}
  .modal-mask .modal:has(#plh-month) .table th:nth-child(1),
  .modal-mask .modal:has(#plh-month) .table td:nth-child(1),
  .modal-mask .modal:has(#plh-month) .table th:nth-child(3),
  .modal-mask .modal:has(#plh-month) .table td:nth-child(3){display:none !important;}
  .modal-mask .modal:has(#plh-month) .table th:nth-child(6),
  .modal-mask .modal:has(#plh-month) .table td:nth-child(6){font-size:11.5px !important;}
  .modal-mask .modal:has(#plh-month) .modal-foot{flex-wrap:wrap;gap:8px;}
}

/* ===== v1223 手机端订单详情：不横向溢出 ===== */
@media (max-width: 640px){
  .od-print .table{table-layout:fixed !important;width:100% !important;}
  .od-print .table th,.od-print .table td{padding:8px 6px !important;font-size:12px !important;white-space:normal !important;word-break:break-all;}
  .od-print .table th:nth-child(2),.od-print .table td:nth-child(2),
  .od-print .table th:nth-child(4),.od-print .table td:nth-child(4){display:none !important;}
  .od-print .table th:nth-child(1),.od-print .table td:nth-child(1){width:34%;}
  .od-print .table th:nth-child(3),.od-print .table td:nth-child(3){width:28%;}
  .od-print .table th:nth-child(5),.od-print .table td:nth-child(5){width:38%;}
}

/* v1224 订单详情手机端：隐藏 部门/数量/小计，只留 项目/单价/提成分配 */
@media (max-width: 640px){
  .od-print .table th:nth-child(6),.od-print .table td:nth-child(6){display:none !important;}
  .od-print .table th:nth-child(1),.od-print .table td:nth-child(1){width:38%;}
  .od-print .table th:nth-child(3),.od-print .table td:nth-child(3){width:26%;}
  .od-print .table th:nth-child(5),.od-print .table td:nth-child(5){width:36%;}
  .od-print .table td:nth-child(5){font-size:11.5px !important;line-height:1.4;}
}

/* ===== v1226 工资条横条：自动换行铺满，不裁字 ===== */
@media (min-width: 641px){
  .pl-strip{overflow:visible !important;}
  .pl-strip-row{
    display:grid !important;
    grid-template-columns:repeat(auto-fit, minmax(96px, 1fr)) !important;
    gap:1px !important;
    background:#eef2f7 !important;
    width:100% !important;
    min-width:0 !important;
  }
  .pl-strip .pl-cell{
    display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
    background:#fff;border-right:0 !important;padding:9px 6px !important;min-width:0;
  }
  .pl-strip .pl-cell span{white-space:nowrap;font-size:11px;color:#8a94a6;}
  .pl-strip .pl-cell b{white-space:nowrap;font-size:14px;}
  .pl-strip .pl-cell.total{grid-column:1 / -1 !important;background:#fdf2f6 !important;}
  .pl-strip .pl-cell.total span{font-size:11.5px;color:#a8123f;font-weight:700;}
  .pl-strip .pl-cell.total b{font-size:18px;}
  .pl-strip .pl-cell.total i{font-size:11px;}
}

/* v1227 工资条横条：列数自适应，去空白格 */
@media (min-width: 641px){
  .pl-strip-row{
    grid-template-columns:repeat(auto-fit, minmax(78px, 1fr)) !important;
    grid-auto-flow:dense !important;
  }
  .pl-strip .pl-cell.total{grid-column:1 / -1 !important;}
}

/* v1228 工资条横条：flex 自适应，末行自动铺满 */
@media (min-width: 641px){
  .pl-strip-row{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:stretch !important;
    gap:1px !important;
    background:#eef2f7 !important;
    width:100% !important;
    min-width:0 !important;
  }
  .pl-strip .pl-cell{
    flex:1 1 78px !important;
    min-width:72px !important;
    max-width:none !important;
  }
  .pl-strip .pl-cell.total{flex:1 0 100% !important;}
}

/* v1229 实发工资与其它格同宽，不再单独占一行 */
@media (min-width: 641px){
  .pl-strip .pl-cell.total{
    flex:1 1 78px !important;
    min-width:72px !important;
    background:#fdf2f6 !important;
  }
  .pl-strip .pl-cell.total span{font-size:11px !important;color:#a8123f !important;font-weight:700;}
  .pl-strip .pl-cell.total b{font-size:14px !important;font-weight:800;color:#a8123f !important;}
  .pl-strip .pl-cell.total i{font-size:9.5px !important;line-height:1.25 !important;white-space:normal !important;color:#D6006E !important;margin-top:2px;}
}

/* ===== v1230 小票弹窗：内容居中占满，去掉右侧空白 ===== */
.receipt{width:100% !important;max-width:none !important;margin:0 !important;}
@media (max-width: 640px){
  .modal-mask .modal:has(.receipt){width:calc(100% - 16px) !important;}
}

/* ===== v1239 KPI 目标表：随宽度精简列，不裁字 ===== */
.kpi-target-table th,.kpi-target-table td{white-space:nowrap !important;overflow:visible !important;text-overflow:clip !important;}
.kpi-target-table td .btn{white-space:nowrap;}
@media (max-width: 1560px){
  .kpi-target-table th:nth-child(8),.kpi-target-table td:nth-child(8){display:none !important;} /* 零售金额 */
}
@media (max-width: 1400px){
  .kpi-target-table th:nth-child(9),.kpi-target-table td:nth-child(9){display:none !important;} /* 现金业绩 */
}
@media (max-width: 1260px){
  .kpi-target-table th:nth-child(10),.kpi-target-table td:nth-child(10){display:none !important;} /* 充值 */
}
@media (max-width: 1120px){
  .kpi-target-table th:nth-child(6),.kpi-target-table td:nth-child(6){display:none !important;} /* 开卡数 */
}
@media (max-width: 980px){
  .kpi-target-table th:nth-child(5),.kpi-target-table td:nth-child(5){display:none !important;} /* 指定客数 */
}

/* v1240 修正列序：员工|业绩目标|已完成|达成率|指定客数|开卡数|零售|现金|充值|操作 */
.kpi-target-table th:nth-child(10),.kpi-target-table td:nth-child(10){display:table-cell !important;} /* 操作永远显示 */
.kpi-target-table th:nth-child(7),.kpi-target-table td:nth-child(7),
.kpi-target-table th:nth-child(8),.kpi-target-table td:nth-child(8),
.kpi-target-table th:nth-child(9),.kpi-target-table td:nth-child(9){display:table-cell !important;}
@media (max-width: 1560px){
  .kpi-target-table th:nth-child(7),.kpi-target-table td:nth-child(7){display:none !important;}   /* 零售金额 */
  .kpi-target-table th:nth-child(8),.kpi-target-table td:nth-child(8){display:table-cell !important;}
}
@media (max-width: 1400px){
  .kpi-target-table th:nth-child(8),.kpi-target-table td:nth-child(8){display:none !important;}   /* 现金业绩 */
  .kpi-target-table th:nth-child(9),.kpi-target-table td:nth-child(9){display:table-cell !important;}
}
@media (max-width: 1260px){
  .kpi-target-table th:nth-child(9),.kpi-target-table td:nth-child(9){display:none !important;}   /* 充值 */
  .kpi-target-table th:nth-child(6),.kpi-target-table td:nth-child(6){display:table-cell !important;}
}
@media (max-width: 1120px){
  .kpi-target-table th:nth-child(6),.kpi-target-table td:nth-child(6){display:none !important;}   /* 开卡数 */
}
@media (max-width: 980px){
  .kpi-target-table th:nth-child(5),.kpi-target-table td:nth-child(5){display:none !important;}   /* 指定客数 */
}

/* ===== v1241 目标表：去掉达成率列，全列常显；新增头像竖条进度 ===== */
.kpi-target-table th,.kpi-target-table td{display:table-cell !important;}
.kpi-target-table th,.kpi-target-table td{padding:10px 8px !important;font-size:12.5px !important;white-space:nowrap !important;}
.kpi-target-table td .btn{padding:5px 10px !important;font-size:12px !important;}

.kpi-rings{display:flex;gap:18px;overflow-x:auto;padding:6px 2px 10px;}
.kpi-ring-item{flex:0 0 auto;width:74px;text-align:center;}
.kpi-ring-bar{
  position:relative;width:10px;height:64px;margin:0 auto 6px;
  background:#eef2f7;border-radius:6px;overflow:hidden;
}
.kpi-ring-bar i{position:absolute;left:0;bottom:0;width:100%;border-radius:6px;transition:height .3s;}
.kpi-ring-av{width:44px;height:44px;margin:0 auto 4px;border-radius:50%;overflow:hidden;}
.kpi-ring-av img,.kpi-ring-av > *{width:44px !important;height:44px !important;border-radius:50% !important;object-fit:cover;display:flex;align-items:center;justify-content:center;}
.kpi-ring-item b{display:block;font-size:13px;}
.kpi-ring-item span{display:block;font-size:11.5px;color:#64748b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media (max-width: 640px){
  .kpi-target-table th,.kpi-target-table td{font-size:11.5px !important;padding:8px 5px !important;}
}

/* ===== v1242 目标表：所有列在任何宽度都显示（覆盖旧的按宽度隐藏规则） ===== */
.kpi-target-table th:nth-child(1),.kpi-target-table td:nth-child(1){display:table-cell !important;}
.kpi-target-table th:nth-child(2),.kpi-target-table td:nth-child(2){display:table-cell !important;}
.kpi-target-table th:nth-child(3),.kpi-target-table td:nth-child(3){display:table-cell !important;}
.kpi-target-table th:nth-child(4),.kpi-target-table td:nth-child(4){display:table-cell !important;}
.kpi-target-table th:nth-child(5),.kpi-target-table td:nth-child(5){display:table-cell !important;}
.kpi-target-table th:nth-child(6),.kpi-target-table td:nth-child(6){display:table-cell !important;}
.kpi-target-table th:nth-child(7),.kpi-target-table td:nth-child(7){display:table-cell !important;}
.kpi-target-table th:nth-child(8),.kpi-target-table td:nth-child(8){display:table-cell !important;}
.kpi-target-table th:nth-child(9),.kpi-target-table td:nth-child(9){display:table-cell !important;}
.kpi-target-table th:nth-child(10),.kpi-target-table td:nth-child(10){display:table-cell !important;}
.kpi-target-table th:nth-child(11),.kpi-target-table td:nth-child(11){display:table-cell !important;}
.kpi-target-table th:nth-child(12),.kpi-target-table td:nth-child(12){display:table-cell !important;}


/* ===== v1243 竖条区自动缩放 + 前三名花环 ===== */
.kpi-rings{
  display:flex; flex-wrap:nowrap; align-items:flex-end;
  gap:clamp(4px, calc(120px / var(--kpi-n, 6)), 18px);
  overflow-x:auto; overflow-y:visible; padding:6px 2px 12px;
}
.kpi-ring-item{flex:0 0 auto; width:clamp(46px, calc(520px / var(--kpi-n, 6)), 76px); text-align:center;}
.kpi-ring-bar{height:clamp(34px, calc(320px / var(--kpi-n, 6)), 66px); width:8px;}
.kpi-ring-av{width:clamp(30px, calc(300px / var(--kpi-n, 6)), 46px); height:clamp(30px, calc(300px / var(--kpi-n, 6)), 46px);}
.kpi-ring-av img,.kpi-ring-av > *{width:100% !important;height:100% !important;font-size:0.9em;}
.kpi-ring-item b{font-size:clamp(11px, calc(90px / var(--kpi-n, 6)), 14px);}
.kpi-ring-item span{font-size:clamp(10px, calc(70px / var(--kpi-n, 6)), 12px);}

/* 前三名：头像 + 花环 + 称号 */
.kpi-name{display:flex;align-items:center;gap:10px;}
.kpi-av-wrap{position:relative;flex:none;width:44px;height:44px;}
.kpi-av-wrap > img,.kpi-av-wrap > span,.kpi-av-wrap > div{width:44px !important;height:44px !important;border-radius:50% !important;object-fit:cover;}
.kpi-wreath{position:absolute;left:-9px;top:-9px;width:62px !important;height:62px !important;border-radius:0 !important;pointer-events:none;}
.kpi-name-txt{display:flex;flex-direction:column;line-height:1.25;}
.kpi-name-txt b{font-size:13.5px;}
.kpi-star-label{font-size:11px;font-weight:800;white-space:nowrap;}
.kpi-name.rank-1 .kpi-star-label{color:#0284c7;}
.kpi-name.rank-2 .kpi-star-label{color:#d97706;}
.kpi-name.rank-3 .kpi-star-label{color:#64748b;}
.kpi-name.rank-1 .kpi-av-wrap{box-shadow:0 0 0 2px #bae6fd inset;}
.kpi-name.rank-2 .kpi-av-wrap{box-shadow:0 0 0 2px #fde68a inset;}
.kpi-name.rank-3 .kpi-av-wrap{box-shadow:0 0 0 2px #e2e8f0 inset;}
@media (max-width: 640px){
  .kpi-rings{flex-wrap:wrap; justify-content:flex-start;}
}

/* ===== v1244 竖条区：够放时保持大头像，放不下再收 ===== */
.kpi-rings{
  display:flex; flex-wrap:nowrap; align-items:flex-end;
  gap:var(--gap, 16px) !important;
  overflow-x:auto; padding:6px 2px 12px;
}
.kpi-ring-item{flex:0 0 auto; width:calc(var(--av, 56px) + 12px) !important; text-align:center;}
.kpi-ring-bar{height:calc(var(--av, 56px) * 1.4) !important; width:9px;}
.kpi-ring-av{
  width:var(--av, 56px) !important; height:var(--av, 56px) !important;
  margin:0 auto 4px !important;
}
.kpi-ring-av img,.kpi-ring-av > *{width:100% !important;height:100% !important;border-radius:50% !important;object-fit:cover;}
.kpi-ring-item b{font-size:13.5px !important;}
.kpi-ring-item span{font-size:12px !important;}
@media (max-width: 640px){
  .kpi-rings{flex-wrap:wrap; justify-content:flex-start;}
}

/* ===== v1245 竖条区无照片头像：圆形、文字不溢出 ===== */
.kpi-ring-av{overflow:hidden !important;border-radius:50% !important;}
.kpi-ring-av > span{
  display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
  width:100% !important;height:100% !important;border-radius:50% !important;
  overflow:hidden !important;padding:2px !important;box-sizing:border-box !important;
}
.kpi-ring-av > span b{font-size:10px !important;line-height:1.15 !important;color:#fff !important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;}
.kpi-ring-av > span i{font-size:8px !important;line-height:1.1 !important;color:rgba(255,255,255,.9) !important;font-style:normal;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.kpi-ring-item b{position:relative;z-index:1;}

/* ===== v1246 花环尺寸适配（含皇冠，中间透出头像） ===== */
.kpi-wreath{
  width:132% !important;height:154% !important;max-width:none !important;
  left:-16% !important;top:-34% !important;
  object-fit:contain !important;border-radius:0 !important;
  filter:drop-shadow(0 3px 6px rgba(15,23,42,.18));
}

/* v1247 称号加长后不换行挤压 */
.kpi-star-label{white-space:nowrap;font-size:10.5px !important;}
.kpi-name-txt{min-width:0;}
.kpi-name{min-width:0;}

/* v1248 花环尺寸（提高选择器权重，压过 .kpi-av-wrap > img） */
.kpi-av-wrap > img.kpi-wreath,
.kpi-av-wrap > .kpi-wreath{
  width:132% !important;height:154% !important;max-width:none !important;max-height:none !important;
  left:-16% !important;top:-34% !important;
  border-radius:0 !important;object-fit:contain !important;
}

/* ===== v1249 目标表随窗口自动缩放，不裁字 ===== */
.kpi-target-table{font-size:clamp(11px, 0.82vw, 12.5px) !important;}
.kpi-target-table th,.kpi-target-table td{
  padding:clamp(6px, 0.6vw, 10px) clamp(4px, 0.5vw, 8px) !important;
  white-space:nowrap !important;
}
.kpi-target-table th{font-size:clamp(10.5px, 0.78vw, 12px) !important;}
.kpi-target-table td .btn{padding:clamp(4px, .4vw, 6px) clamp(8px, .8vw, 12px) !important;font-size:clamp(10.5px, .8vw, 12px) !important;}
.kpi-pair{display:flex;flex-direction:column;line-height:1.25;align-items:flex-end;}
.kpi-pair b{font-weight:700;color:#0f172a;}
.kpi-pair i{font-style:normal;font-size:.86em;color:#94a3b8;}
.kpi-name-txt b{font-size:clamp(12px, .9vw, 13.5px) !important;}
.kpi-star-label{font-size:clamp(9.5px, .75vw, 11px) !important;}

/* ===== v1250 奖励明细 + 竖条区层次 ===== */
#kpi-body .card:has(.kpi-rings){
  background:linear-gradient(135deg,#fffdfa 0%,#fff7f9 55%,#f8fbff 100%) !important;
  border:1px solid #f1e7ea !important;
  box-shadow:0 10px 26px -20px rgba(168,18,63,.45) !important;
}
#kpi-body .card:has(.kpi-rings) .card-title{color:#7f1d3f;letter-spacing:.3px;}

.kpi-award-card{
  background:linear-gradient(135deg,#ffffff 0%,#fbfdff 100%) !important;
  border:1px solid #eef2f7 !important;
  box-shadow:0 10px 24px -22px rgba(15,23,42,.5) !important;
}
.kpi-award-list{display:flex;flex-direction:column;gap:6px;}
.kpi-award-line{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:8px 12px;border-radius:10px;font-size:12.5px;
  background:#f8fafc;border:1px solid #eef2f7;
}
.kpi-award-line.bonus{background:#f0fdf4;border-color:#dcfce7;}
.kpi-award-line.penalty{background:#fef2f2;border-color:#fee2e2;}
.kpi-award-name{font-weight:700;min-width:64px;}
.kpi-award-reason{flex:1;min-width:160px;color:#64748b;}
.kpi-award-line b{font-size:14px;}
.kpi-award-line.bonus b{color:#0f766e;}
.kpi-award-line.penalty b{color:#D6006E;}

/* 设置目标弹窗：去掉多余空白 */
.modal-mask .modal:has(#kt-reward) .modal-body{padding-bottom:8px !important;min-height:0 !important;}
.modal-mask .modal:has(#kt-reward) .field{margin-bottom:12px !important;}
.modal-mask .modal:has(#kt-reward) .form-row{margin-bottom:0 !important;}

/* ===== v1251 本店现金业绩 + 收紧竖条卡空白 ===== */
.store-cash-card{padding:16px 18px !important;}
.store-cash-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.store-cash-lb{font-size:13px;color:#7f1d3f;font-weight:800;}
.store-cash-lb span{font-weight:500;color:#a1a1aa;font-size:11.5px;margin-left:6px;}
.store-cash-val{font-size:26px;font-weight:800;color:#a8123f;line-height:1.1;}
.store-cash-val i{font-style:normal;font-size:13px;color:#94a3b8;font-weight:600;margin-left:6px;}
.store-cash-sub{flex:1;min-width:220px;font-size:11.5px;color:#94a3b8;}
#kpi-body .card:has(.kpi-rings){padding-bottom:8px !important;}
.kpi-rings{padding-bottom:6px !important;}

/* ===== v1252 本店现金业绩：整条彩卡 + 完成率进度条 ===== */
#kpi-body .store-cash-card{
  padding:0 !important;
  overflow:hidden;
  border:0 !important;
  box-shadow:0 14px 34px -24px rgba(168,18,63,.55) !important;
}
.store-cash-band{
  background:linear-gradient(120deg,#a8123f 0%,#D6006E 45%,#e0688a 100%);
  padding:14px 18px 12px;
  position:relative;
}
.store-cash-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.store-cash-lb{font-size:13px;color:#fff;font-weight:800;letter-spacing:.3px;}
.store-cash-lb span{font-weight:500;color:rgba(255,255,255,.72);font-size:11.5px;margin-left:6px;}
.store-cash-val{font-size:28px;font-weight:800;color:#fff;line-height:1.05;text-shadow:0 2px 8px rgba(0,0,0,.15);}
.store-cash-val i{font-style:normal;font-size:13px;color:rgba(255,255,255,.78);font-weight:600;margin-left:6px;}
.store-cash-sub{flex:1;min-width:220px;font-size:11.5px;color:rgba(255,255,255,.82);}
.store-cash-btn{
  background:rgba(255,255,255,.16) !important;color:#fff !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5) !important;
  backdrop-filter:blur(2px);
}
.store-cash-btn:hover{background:rgba(255,255,255,.28) !important;}

.store-cash-bar{
  margin-top:12px;height:10px;border-radius:999px;
  background:rgba(255,255,255,.25);overflow:hidden;
}
.store-cash-bar i{
  display:block;height:100%;border-radius:999px;
  background:linear-gradient(90deg,#fff 0%,#ffe4ec 100%);
  box-shadow:0 0 12px rgba(255,255,255,.6);
  transition:width .45s ease;
}
.store-cash-pct{margin-top:6px;font-size:11.5px;color:rgba(255,255,255,.88);}

#kpi-body .store-cash-card > .card-title{padding:14px 18px 0;}
#kpi-body .store-cash-card > .kpi-rings{padding:6px 18px 12px !important;}

/* v1253 指定员工选择 */
.sc-staff-item{display:flex;align-items:center;gap:8px;padding:6px 4px;font-size:13px;cursor:pointer;border-radius:6px;}
.sc-staff-item:hover{background:#f8fafc;}
.sc-staff-item input{width:15px;height:15px;}
.sc-staff-item span{color:#94a3b8;font-size:11.5px;}

/* ===== v1254 彩条改色 + 全部现金业绩大字 + 红色渐变进度条 ===== */
#kpi-body .store-cash-card{border-radius:14px !important;}
.store-cash-band{
  background:linear-gradient(120deg,#1e293b 0%,#334155 55%,#475569 100%) !important;
  padding:16px 20px 14px !important;
}
.store-cash-lb{
  font-size:15px !important;letter-spacing:.6px;
  color:#fff !important;font-weight:800;
}
.store-cash-lb span{font-size:11.5px !important;color:rgba(255,255,255,.55) !important;}
.store-cash-val{font-size:30px !important;color:#ff3b5c !important;text-shadow:0 2px 14px rgba(255,59,92,.45);}
.store-cash-val i{color:rgba(255,255,255,.72) !important;}
.store-cash-sub{color:rgba(255,255,255,.72) !important;}
.store-cash-btn{
  background:rgba(255,255,255,.12) !important;color:#fff !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35) !important;
}
.store-cash-bar{background:rgba(255,255,255,.16) !important;height:12px !important;}
.store-cash-bar i{
  background:linear-gradient(90deg,#FF6FB0 0%,#FF2D8A 55%,#8A0047 100%) !important;
  box-shadow:0 0 14px rgba(255,45,138,.55) !important;
}
.store-cash-pct{color:rgba(255,255,255,.8) !important;}
.pd-line.kpi-bonus{background:#f0fdf4;border-color:#dcfce7;}
.pd-line.kpi-penalty{background:#fef2f2;border-color:#fee2e2;}
.pd-line.kpi-bonus b{color:#0f766e;}
.pd-line.kpi-penalty b{color:#D6006E;}

/* v1256 全店现金业绩「设置」按钮改为红色 */
.store-cash-btn{
  background:linear-gradient(135deg,#FF2D8A 0%,#B3005C 100%) !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 8px 18px -8px rgba(255,45,138,.9),inset 0 1px 0 rgba(255,255,255,.28) !important;
  font-weight:700;
}
.store-cash-btn:hover{background:linear-gradient(135deg,#f87171 0%,#D6006E 100%) !important;}

/* ===== v1257 考核页：本店 / 员工 两大板块 ===== */
.kpi-sec{margin-bottom:18px;border-radius:16px;padding:14px 16px 10px;}
.kpi-sec-store{background:linear-gradient(160deg,#f6f8fb 0%,#eef2f7 100%);border:1px solid #e5eaf1;}
.kpi-sec-staff{background:linear-gradient(160deg,#fffaf9 0%,#fdf2f6 100%);border:1px solid #f5e3ea;}
.kpi-sec-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap;}
.kpi-sec-tag{
  display:inline-flex;align-items:center;height:26px;padding:0 12px;border-radius:999px;
  font-size:12.5px;font-weight:800;letter-spacing:1px;color:#fff;
}
.kpi-sec-store .kpi-sec-tag{background:linear-gradient(135deg,#334155,#0f172a);}
.kpi-sec-staff .kpi-sec-tag{background:linear-gradient(135deg,#D6006E,#a8123f);}
.kpi-sec-head b{font-size:15px;color:#0f172a;}
.kpi-sec-head i{font-style:normal;font-size:11.5px;color:#94a3b8;}
.kpi-sec .store-cash-card{margin-bottom:4px !important;}
.kpi-sec .ms-grid{margin-bottom:12px !important;}
.kpi-sec .card{box-shadow:0 8px 22px -22px rgba(15,23,42,.5);}

/* ===== v1262 工资明细：去掉页签内的大片空白（改回内容自适应） ===== */
.pd-pane{
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
  overflow-y:visible !important;
  padding-right:0 !important;
}
.modal.has-hero.pd-detail .modal-body{max-height:calc(100vh - 210px) !important;overflow-y:auto !important;}

/* ===== v1263 工资条外框加深、文字更醒目 ===== */
.pl-strip{border:1.5px solid #cbd5e1 !important;box-shadow:0 2px 10px -6px rgba(15,23,42,.35);}
.pl-strip .pl-cell span{color:#64748b !important;font-weight:600 !important;}
.pl-strip .pl-cell b{color:#0f172a !important;font-weight:800 !important;}
.pl-strip .pl-cell.in b{color:#0f766e !important;}
.pl-strip .pl-cell.out b{color:#D6006E !important;}
.pl-strip .pl-cell.total{border-left:1.5px solid #f1d4dd;}
.pl-strip .pl-cell.total span{color:#a8123f !important;font-weight:800 !important;}
.pl-strip .pl-cell.total b{color:#D6006E !important;}
.pl-strip .pl-cell.total i{color:#B3005C !important;font-weight:700 !important;}
/* 分隔线更清晰 */
.pl-strip .pl-cell{border-right:1px solid #e2e8f0 !important;}

/* ===== v1264 定金单：去掉趋势、排行移到底部、板块分层 ===== */
.dp-section{
  background:#fbfcfe;
  border:1px solid #e8edf4;
  border-radius:14px;
  padding:14px 16px 10px;
  margin-bottom:16px;
}
.dp-sec-head{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;flex-wrap:wrap;}
.dp-sec-head b{font-size:15px;color:#0f172a;}
.dp-sec-head span{font-size:11.5px;color:#94a3b8;}
.dp-section-rank{background:linear-gradient(160deg,#fffdfd 0%,#fdf5f8 100%);border-color:#f3e0e7;}
.dp-section-rank .ex-cats{padding:2px 0 6px;}
/* 列表块内的工具条与卡片贴合 */
.dp-section .ex-toolbar{margin:0 0 12px;}
.dp-section #dp-list{margin:0;}
/* 顶部 KPI 与列表之间留白 */
.ex-kpis{margin-bottom:16px;}

/* ===== v1265 定金卡片：左侧彩条 + 状态文字，边框随色 ===== */
.dp-item{
  position:relative;
  padding-left:0 !important;
  overflow:hidden;
  border-left-width:0 !important;
  align-items:stretch;
}
.dp-strip{
  flex:0 0 36px;
  width:36px;
  display:flex;align-items:center;justify-content:center;
  writing-mode:vertical-rl;text-orientation:upright;
  letter-spacing:3px;
  font-size:11.5px;font-weight:800;color:#fff;
  border-radius:12px 0 0 12px;
}
.dp-item .ex-main{padding:12px 6px 12px 14px;}
.dp-item .ex-right{padding:12px 14px 12px 0;}
/* 新定金：玫红 */
.dp-st-pending{border:1.5px solid #f5c2d3 !important;background:linear-gradient(90deg,#fff7fa 0%,#fff 40%) !important;box-shadow:0 8px 22px -20px rgba(179,0,92,.6);}
.dp-st-pending .dp-strip{background:linear-gradient(180deg,#FF2D8A,#B3005C);}
/* 已核销：沉底，青灰 */
.dp-st-done{border:1.5px solid #dfe7e6 !important;background:#fbfdfd !important;opacity:.92;}
.dp-st-done .dp-strip{background:linear-gradient(180deg,#5f9e96,#3f726c);}
/* 已取消：沉底，灰 */
.dp-st-cancelled{border:1.5px solid #e6e9ee !important;background:#fafbfc !important;opacity:.85;}
.dp-st-cancelled .dp-strip{background:linear-gradient(180deg,#b6bfcc,#98a2b3);}
.dp-st-done .ex-right b,.dp-st-cancelled .ex-right b{color:#64748b !important;}

/* v1266 定金彩条上下铺满整卡 */
.dp-item{padding:0 !important;min-height:0 !important;}
.dp-item .ex-main{padding:12px 8px 12px 14px !important;align-self:center;}
.dp-item .ex-right{padding:12px 14px 12px 0 !important;align-self:center;}
.dp-strip{border-radius:11px 0 0 11px !important;align-self:stretch;}
@media (max-width: 640px){
  .dp-item .ex-main{padding:10px 8px 10px 10px !important;}
}

/* ===== v1267 定金卡片：三列排列、更紧凑 ===== */
#dp-list{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:12px !important;
  align-items:stretch;
}
@media (max-width: 1500px){ #dp-list{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;} }
@media (max-width: 900px){ #dp-list{grid-template-columns:1fr !important;} }

.dp-item{min-height:0 !important;}
.dp-strip{flex:0 0 30px !important;width:30px !important;font-size:10.5px !important;letter-spacing:2px !important;}
.dp-item .ex-main{padding:9px 8px 9px 12px !important;}
.dp-item .ex-right{padding:9px 12px 9px 0 !important;}
.dp-item .ex-l1 b{font-size:13.5px !important;}
.dp-item .ex-l2{font-size:12px !important;margin-top:1px !important;}
.dp-item .ex-l3{font-size:11px !important;line-height:1.35 !important;}
.dp-item .ex-right b{font-size:15px !important;}
.dp-item .ex-acts{margin-top:4px !important;gap:5px !important;}
.dp-item .ex-act{font-size:11px !important;padding:3px 8px !important;}
.dp-item .ex-tag{font-size:10.5px !important;padding:1px 6px !important;}

/* v1268 三列阈值调整：1440 宽也三列 */
#dp-list{grid-template-columns:repeat(3, minmax(0, 1fr)) !important;}
@media (max-width: 1279px){ #dp-list{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;} }
@media (max-width: 820px){ #dp-list{grid-template-columns:1fr !important;} }

/* v1269 定金卡片三列时不折行、文字省略 */
.dp-item .ex-l1{display:flex !important;flex-wrap:nowrap !important;align-items:center !important;gap:5px !important;overflow:hidden !important;}
.dp-item .ex-l1 b{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;min-width:0 !important;flex:0 1 auto;}
.dp-item .ex-tag{white-space:nowrap !important;flex:0 0 auto;}
.dp-item .ex-l2,.dp-item .ex-l3{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.dp-item .ex-l2{line-height:1.3 !important;}
.dp-item .ex-right{flex:0 0 auto;}
.dp-item .ex-right b{white-space:nowrap;}

/* ===== v1270 定金：三列随窗口自适应 + 已转单与已核销区分 ===== */
#dp-list{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap:12px !important;
}
@media (max-width: 820px){ #dp-list{grid-template-columns:1fr !important;} }

/* 已转单：蓝灰（转了订单，业绩已算到收银） */
.dp-st-converted{border:1.5px solid #dbe4f0 !important;background:#fbfcff !important;}
.dp-st-converted .dp-strip{background:linear-gradient(180deg,#7c93b8,#516a8f);}
.dp-st-converted .ex-right b{color:#64748b !important;}
.dp-st-converted .ex-main{opacity:.96;}

/* 已核销：青绿（没走收银台，直接核销） */
.dp-st-verified{border:1.5px solid #d8e8e4 !important;background:#fbfdfc !important;}
.dp-st-verified .dp-strip{background:linear-gradient(180deg,#5f9e96,#3f726c);}
.dp-st-verified .ex-right b{color:#64748b !important;}

/* 兼容旧的 done 类 */
.dp-st-done{border:1.5px solid #d8e8e4 !important;background:#fbfdfc !important;}
.dp-st-done .dp-strip{background:linear-gradient(180deg,#5f9e96,#3f726c);}

/* v1273 定金：窗口缩放也保持三列 */
#dp-list{grid-template-columns:repeat(3, minmax(0, 1fr)) !important;}
@media (max-width: 980px){ #dp-list{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;} }
@media (max-width: 640px){ #dp-list{grid-template-columns:1fr !important;} }
/* 窄列时进一步压缩，避免文字折行 */
#dp-list .dp-item .ex-l1 b{max-width:52%;}
#dp-list .dp-item .dp-strip{flex:0 0 26px !important;width:26px !important;font-size:10px !important;letter-spacing:1px !important;}
#dp-list .dp-item .ex-main{padding:8px 6px 8px 10px !important;}
#dp-list .dp-item .ex-right{padding:8px 10px 8px 0 !important;}

/* ===== v1275 定金支付方式：三宫格大按钮 ===== */
.dp-pay-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:6px;}
.dp-pay-btn{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  height:84px;border-radius:12px;cursor:pointer;
  background:#f8fafc;border:1.5px solid #e6ebf2;
  color:#334155;font-size:13.5px;font-weight:700;
  transition:all .16s;
}
.dp-pay-btn i{font-style:normal;font-size:22px;line-height:1;}
.dp-pay-btn:hover{border-color:#f3c1d2;background:#fff7fa;}
.dp-pay-btn.on{
  background:linear-gradient(135deg,#fff1f5,#ffe4ec);
  border-color:#D6006E;color:#a8123f;
  box-shadow:0 8px 20px -14px rgba(194,24,91,.9);
}

/* v1276 支付图标尺寸 */
.dp-pay-btn .dp-pay-ic{display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-style:normal;}
.dp-pay-btn .dp-pay-ic svg{width:32px;height:32px;display:block;}

/* v1277 定金：可抵扣标签 + KPI 可点击 */
.dp-deduct-tag{
  display:inline-block;margin-top:3px;font-size:11px;font-weight:700;
  color:#b45309;background:#fff7ed;border:1px solid #fed7aa;
  border-radius:999px;padding:1px 7px;white-space:nowrap;
}
.ex-kpi.kpi-click{cursor:pointer;transition:transform .15s,box-shadow .15s;}
.ex-kpi.kpi-click:hover{transform:translateY(-2px);box-shadow:0 12px 26px -20px rgba(15,23,42,.55);}

/* ===== v1281 定金表单对齐 + 提成提示 + KPI 彩卡 ===== */
.dp-row-2 .field{display:flex !important;flex-direction:column !important;}
.dp-row-2 .field .input,.dp-row-2 .field .select{height:42px !important;}
.dp-comm-hint{margin-top:4px;font-size:11.5px;color:#b45309;font-weight:600;min-height:16px;}

/* 顶部 4 张卡改成彩卡 */
.ex-kpis .ex-kpi{
  background:linear-gradient(150deg,#ffffff 0%,#f7fafc 100%) !important;
  border:1px solid #e8eef6 !important;
  box-shadow:0 10px 24px -22px rgba(15,23,42,.55) !important;
}
.ex-kpis .ex-kpi.main{
  background:linear-gradient(150deg,#fff1f5 0%,#ffe4ec 100%) !important;
  border-color:#f7c9d8 !important;
}
.ex-kpis .ex-kpi:nth-child(2){background:linear-gradient(150deg,#eef7ff 0%,#e0f0ff 100%) !important;border-color:#cfe4f8 !important;}
.ex-kpis .ex-kpi:nth-child(3){background:linear-gradient(150deg,#eefaf3 0%,#dff5e9 100%) !important;border-color:#c9ead9 !important;}
.ex-kpis .ex-kpi:nth-child(4){background:linear-gradient(150deg,#fff8ec 0%,#ffefd6 100%) !important;border-color:#f7dfb6 !important;}
.ex-kpis .ex-kpi .lb{color:#475569 !important;}

/* ===== v1289 定金卡片重新排版：姓名/电话/备注/状态都完整可见 ===== */
#dp-list .dp-item .ex-main{padding:10px 8px 10px 12px !important;min-width:0;}
.dp-line1{display:flex;align-items:center;gap:6px;min-width:0;}
.dp-name{
  flex:1 1 auto;min-width:0;
  font-size:14px;font-weight:800;color:#0f172a;line-height:1.25;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.dp-tags{display:flex;align-items:center;gap:4px;flex:0 0 auto;}
.dp-tags .ex-tag{white-space:nowrap !important;flex:0 0 auto;font-size:10.5px;padding:1px 6px;}
.dp-line2{margin-top:3px;font-size:12.5px;color:#334155;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-line3{margin-top:2px;font-size:11.5px;color:#64748b;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-line3.dp-note{color:#94a3b8;}
.dp-line3.dp-note-empty{opacity:.55;}
#dp-list .dp-item .ex-right{padding:10px 12px 10px 0 !important;}
#dp-list .dp-item .ex-right b{font-size:16px;}
#dp-list .dp-item .ex-acts{margin-top:6px;display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;}

/* v1290 定金卡片：姓名独占一行，标签换到第二行，保证都可读 */
.dp-line1{flex-wrap:wrap !important;row-gap:3px;}
.dp-name{flex:1 1 100% !important;font-size:14.5px !important;}
.dp-tags{flex:1 1 100% !important;flex-wrap:wrap !important;row-gap:3px;}
.dp-tags .ex-tag{font-size:10.5px !important;}

/* ===== v1291 定金卡片：四排精致布局 ===== */
#dp-list .dp-item .ex-main{padding:9px 8px 9px 12px !important;min-width:0;}
.dp-line1{display:flex;align-items:baseline;gap:8px;min-width:0;}
.dp-line1 .dp-name{flex:0 1 auto;min-width:0;font-size:14px;font-weight:800;color:#0f172a;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-line1 .dp-phone{flex:0 0 auto;font-size:11.5px;color:#64748b;white-space:nowrap;}
.dp-line2{margin-top:4px;font-size:12.5px;color:#334155;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-r3{margin-top:3px;display:flex;align-items:center;gap:4px;min-width:0;font-size:11.5px;}
.dp-r3 .dp-src{flex:0 0 auto;color:#B3005C;background:#fdf2f6;border-radius:999px;padding:0 6px;font-weight:700;}
.dp-r3 .dp-sep{color:#cbd5e1;flex:0 0 auto;}
.dp-r3 .dp-note{flex:1 1 auto;min-width:0;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-r4{margin-top:3px;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:#94a3b8;min-width:0;}
.dp-r4 span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-r4 .dp-who2{color:#b6c0cd;text-align:right;}
#dp-list .dp-item .ex-right{padding:9px 12px 9px 0 !important;}
#dp-list .dp-item .ex-right b{font-size:16px;}

/* ===== v1292 定金卡片：按钮与姓名同排、正文完整换行 ===== */
#dp-list .dp-item{display:block !important;padding:0 !important;position:relative;}
#dp-list .dp-item .ex-main{padding:10px 12px 10px 44px !important;min-width:0;}
#dp-list .dp-item .dp-strip{position:absolute;left:0;top:0;bottom:0;width:34px !important;flex:none !important;}
.dp-head{display:flex;align-items:center;gap:8px;min-width:0;}
.dp-head .dp-name{flex:1 1 auto;min-width:0;font-size:14.5px;font-weight:800;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-acts{flex:0 0 auto;display:flex;gap:5px;align-items:center;}
.dp-acts .ex-act{font-size:11px !important;padding:3px 9px !important;border-radius:8px !important;line-height:1.3;}
.dp-state-txt{font-size:11.5px;color:#94a3b8;}
.dp-line2{display:flex;align-items:baseline;gap:8px;margin-top:5px;min-width:0;}
.dp-line2 .dp-svc{flex:1 1 auto;min-width:0;font-size:12.5px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-line2 .dp-amt{flex:0 0 auto;font-size:16px;font-weight:800;color:#B3005C;}
.dp-r3{margin-top:4px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:11.5px;min-width:0;}
.dp-r3 .dp-src{color:#B3005C;background:#fdf2f6;border-radius:999px;padding:0 6px;font-weight:700;white-space:nowrap;}
.dp-r3 .dp-sep{color:#cbd5e1;}
.dp-r3 .dp-note{color:#64748b;min-width:0;white-space:normal;word-break:break-all;line-height:1.4;}
.dp-r3 .dp-deduct-tag{margin:0;font-size:10.5px;padding:0 6px;background:#fff7ed;border:1px solid #fed7aa;color:#b45309;border-radius:999px;font-weight:700;white-space:nowrap;}
.dp-r4{margin-top:4px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#94a3b8;min-width:0;flex-wrap:wrap;}
.dp-r4 span{min-width:0;white-space:normal;word-break:break-all;line-height:1.4;}
.dp-r4 .dp-who2{color:#b6c0cd;text-align:right;}

/* ===== v1293 定金卡片精简版：只留姓名/电话/项目/时间，详情进弹窗 ===== */
#dp-list .dp-item{display:block !important;padding:0 !important;position:relative;}
#dp-list .dp-item .ex-main{padding:11px 12px 11px 44px !important;min-width:0;}
#dp-list .dp-item .dp-strip{position:absolute;left:0;top:0;bottom:0;width:34px !important;flex:none !important;}
.dp-head{display:flex;align-items:center;gap:8px;min-width:0;}
.dp-head .dp-name{flex:1 1 auto;min-width:0;font-size:15px;font-weight:800;color:#0f172a;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-acts{flex:0 0 auto;display:flex;align-items:center;gap:6px;}
.dp-detail-btn{
  font-size:11.5px;font-weight:600;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;
  border-radius:999px;padding:3px 10px;cursor:pointer;line-height:1.3;
}
.dp-detail-btn:hover{background:#e2e8f0;color:#334155;}
.dp-go-btn{
  font-size:12px;font-weight:800;color:#fff;border:0;cursor:pointer;line-height:1.3;
  background:linear-gradient(135deg,#FF2D8A,#B3005C);
  border-radius:999px;padding:5px 14px;
  box-shadow:0 6px 14px -8px rgba(179,0,92,.9);
}
.dp-go-btn:hover{filter:brightness(1.05);}
.dp-state-txt{font-size:11.5px;color:#94a3b8;font-weight:600;}
.dp-line2{display:flex;align-items:center;gap:6px;margin-top:6px;min-width:0;}
.dp-line2 .dp-phone{flex:0 0 auto;font-size:12px;color:#475569;font-weight:600;white-space:nowrap;}
.dp-line2 .dp-dot{color:#cbd5e1;flex:0 0 auto;}
.dp-line2 .dp-svc{flex:1 1 auto;min-width:0;font-size:12.5px;color:#64748b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-r4{margin-top:5px;display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;}
.dp-r4 .dp-time{font-size:11.5px;color:#94a3b8;white-space:nowrap;}
.dp-r4 .dp-amt{font-size:17px;font-weight:800;color:#B3005C;white-space:nowrap;}

/* 详情弹窗 */
.dpd-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;
  padding-bottom:10px;border-bottom:1px dashed #e8edf4;}
.dpd-head b{font-size:16px;color:#0f172a;}
.dpd-head span{font-size:11.5px;color:#B3005C;background:#fff1f5;border-radius:999px;padding:2px 9px;font-weight:700;}
.dpd-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
  padding:7px 0;border-bottom:1px solid #f4f7fb;font-size:13px;}
.dpd-row span{color:#94a3b8;flex:0 0 auto;}
.dpd-row b{color:#1e293b;font-weight:600;text-align:right;word-break:break-all;}
.dpd-row b.dpd-amt{color:#B3005C;font-size:16px;font-weight:800;}

/* v1294 定金卡片：日期后的发起人加粗 */
.dp-r4{display:flex !important;align-items:baseline !important;gap:8px !important;justify-content:flex-start !important;}
.dp-r4 .dp-time{flex:0 0 auto;}
.dp-r4 .dp-who{flex:0 0 auto;font-size:12px;font-weight:800;color:#334155;white-space:nowrap;}
.dp-r4 .dp-who::before{content:'发起人 ';font-weight:600;color:#94a3b8;}
.dp-r4 .dp-amt{margin-left:auto;}

/* v1295 定金卡片：项目后显示「抵xx」金色小字 */
.dp-line2 .dp-svc{flex:0 1 auto !important;min-width:0;}
.dp-off{
  flex:0 0 auto;font-size:11.5px;font-weight:800;color:#b45309;
  background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:0 5px;line-height:1.5;
  white-space:nowrap;
}

/* ===== v1296 发起人排行：日期筛选 + 单列排行 ===== */
.dp-rank-head{display:flex !important;align-items:center;gap:10px;flex-wrap:wrap;}
.dp-range{margin-left:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.dp-range-btn{
  font-size:11.5px;font-weight:600;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;
  border-radius:999px;padding:3px 10px;cursor:pointer;line-height:1.4;
}
.dp-range-btn:hover{background:#e2e8f0;}
.dp-range-btn.on{background:#fdf2f6;border-color:#f5c2d3;color:#B3005C;font-weight:800;}
.dp-range .dp-range-from,.dp-range .dp-range-to{
  height:30px;min-width:126px;font-size:11.5px;padding:0 8px;border-radius:8px;
}
.dp-range-sep{color:#cbd5e1;font-size:11px;}
.dp-section-rank .ex-cat-row{padding:6px 0;}
.dp-section-rank .ex-cat-name{font-weight:700;color:#334155;}

/* v1297 发起人排行头部一行排开 */
.dp-rank-head{display:flex !important;align-items:center !important;gap:10px !important;flex-wrap:nowrap !important;}
.dp-rank-head > b{flex:0 0 auto;white-space:nowrap;}
.dp-rank-head > span{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dp-range{margin-left:auto;display:flex;align-items:center;gap:6px;flex-wrap:nowrap !important;}
.dp-range .dp-range-from,.dp-range .dp-range-to{
  flex:0 0 128px !important;width:128px !important;max-width:128px !important;height:30px !important;
}
@media (max-width: 1100px){
  .dp-rank-head{flex-wrap:wrap !important;}
  .dp-range{margin-left:0;width:100%;flex-wrap:wrap !important;}
}

/* v1298 发起人排行：左右两个框 */
.dp-rank-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media (max-width: 980px){ .dp-rank-grid{grid-template-columns:1fr;} }
.dp-rank-grid .card.ex-card{padding:12px 14px 10px;}
.dp-rank-lb{font-size:11.5px;font-weight:700;color:#94a3b8;margin-bottom:8px;letter-spacing:.3px;}

/* v1302 拉新指标 */
.dp-tip{font-style:normal;font-size:10.5px;color:#94a3b8;font-weight:400;margin-left:4px;}
.th-tip{font-style:normal;font-size:10px;color:#b6c0cd;font-weight:400;margin-left:3px;}

/* ===== v1303 设置目标：两区域 + 奖惩配色 ===== */
.kt-sec{border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:14px 14px 4px;margin-bottom:12px;}
.kt-sec-hd{font-size:13px;font-weight:800;color:#0f172a;margin-bottom:10px;display:flex;align-items:baseline;gap:8px;}
.kt-sec-hd span{font-size:11px;font-weight:500;color:#94a3b8;}
.kt-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;}
.kt-grid .field{margin-bottom:10px;}
.kt-grid .field label{font-size:12.5px;color:#334155;font-weight:700;margin-bottom:5px;display:block;}
.kt-grid .field .input{
  height:42px;border:1.5px solid #dbe3ee;border-radius:10px;font-size:14px;color:#0f172a;font-weight:600;background:#fff;
}
.kt-grid .field .input:focus{border-color:#D6006E;box-shadow:0 0 0 3px rgba(194,24,91,.08);}
/* 奖惩区：浅红底、深色文字 */
.kt-sec-pun{background:linear-gradient(160deg,#fff8fa 0%,#fff5f7 100%);border:1.5px solid #f6d3dd;}
.kt-sec-pun .kt-sec-hd{color:#a8123f;}
.kt-rew label{color:#0f766e !important;}
.kt-rew .input{border-color:#bfe3d8 !important;background:#f7fdfb !important;}
.kt-pen label{color:#B3005C !important;}
.kt-pen .input{border-color:#f5c2cd !important;background:#fff9fb !important;}
.kt-note{font-size:12px;color:#94a3b8;margin-top:2px;}

/* ===== v1304 左侧白块根治 + 考核弹窗紧凑 ===== */
/* 无论侧边栏元素多高，左侧这 220px 永远是深色底，不再露白 */
@media (min-width: 981px){
  body{
    background:
      linear-gradient(90deg,#0d1526 0 220px, transparent 220px) fixed,
      #f4f6f8 !important;
  }
}
aside.sidebar,#sidebar{
  height:100vh !important;min-height:100vh !important;
  align-self:flex-start !important;top:0 !important;
  background-color:#0d1526 !important;
}

/* 设置目标弹窗：更紧凑、无内部滚动 */
.kt-sec{padding:10px 12px 2px !important;margin-bottom:8px !important;border-radius:10px !important;}
.kt-sec-hd{font-size:12.5px !important;margin-bottom:6px !important;}
.kt-grid{gap:6px 12px !important;}
.kt-grid .field{margin-bottom:6px !important;}
.kt-grid .field label{font-size:12px !important;margin-bottom:3px !important;}
.kt-grid .field .input{height:36px !important;font-size:13.5px !important;border-radius:8px !important;}
.kt-note{font-size:11.5px !important;margin-top:0 !important;}

/* ===== v1305 左侧底色与侧边栏同色，彻底消除接缝 ===== */
/* 先撤销上一版写死的纯色，改为按主题铺同样的渐变 */
body{ background-color:#f4f6f8 !important; background-image:none !important; }
@media (min-width: 981px){
  body{
    background-image: linear-gradient(180deg,#101828 0%,#16202e 55%,#1c2b3f 100%) !important;
    background-size: 220px 100vh !important;
    background-repeat: no-repeat !important;
    background-position: left top !important;
    background-attachment: fixed !important;
  }
  body[data-theme="ocean"]{
    background-image: linear-gradient(180deg,#0b1f3a 0%,#0e2a4d 55%,#123a66 100%) !important;
  }
  body[data-theme="inkgold"]{
    background-image: linear-gradient(180deg,#0c1a13 0%,#142c1e 55%,#1b3a27 100%) !important;
  }
  body[data-theme="night"]{
    background-image: linear-gradient(180deg,#080d18 0%,#101a30 55%,#16223c 100%) !important;
  }
  body[data-theme="blush"]{
    background-image: linear-gradient(180deg,#2a1f22 0%,#3a2a2c 55%,#463234 100%) !important;
  }
  body[data-theme="liquid"]{
    background-image: linear-gradient(165deg,rgba(13,24,38,.9) 0%,rgba(20,36,54,.8) 52%,rgba(16,32,46,.86) 100%) !important;
  }
}
aside.sidebar,#sidebar{
  background-color:transparent !important;
  height:100vh !important;min-height:100vh !important;
  background-attachment:fixed !important;
}

/* v1306 侧栏在矮窗口下：导航可滚、底部账号固定 */
aside.sidebar,#sidebar{display:flex !important;flex-direction:column !important;overflow:hidden !important;}
aside.sidebar .nav,#sidebar .nav{flex:1 1 auto !important;min-height:0 !important;overflow-y:auto !important;overflow-x:hidden !important;scrollbar-width:thin;}
aside.sidebar .nav::-webkit-scrollbar,#sidebar .nav::-webkit-scrollbar{width:4px;}
aside.sidebar .nav::-webkit-scrollbar-thumb,#sidebar .nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:2px;}
aside.sidebar .user-box,#sidebar .user-box{margin-top:auto !important;flex:0 0 auto !important;}
aside.sidebar .cg-box,#sidebar .cg-box{flex:0 0 auto !important;}

/* v1307 口径小字 */
.stat-note{display:block;margin-top:2px;font-size:10.5px;font-weight:400;color:#b6c0cd;font-style:normal;line-height:1.2;}

/* v1310 弹窗锁定滚动：保留位置，避免侧边栏上移 */
body.modal-open{position:fixed !important;left:0;right:0;width:100%;overflow:hidden !important;}

/* v1311 弹窗打开时侧边栏固定在视口，不随 body 位移 */
@media (min-width: 981px){
  body.modal-open #sidebar{
    position:fixed !important;top:0 !important;left:0 !important;
    height:100vh !important;width:220px !important;z-index:5;
  }
  body.modal-open .content{margin-left:220px !important;}
}

/* v1311 弹窗打开时侧边栏固定在视口，不随 body 位移 */
@media (min-width: 981px){
  body.modal-open #sidebar{
    position:fixed !important;top:0 !important;left:0 !important;
    height:100vh !important;width:220px !important;z-index:5;
  }
  body.modal-open .content{margin-left:220px !important;}
}

/* ===== v1313 提成阶梯页 ===== */
.tier-card{margin-bottom:14px;}
.tier-hd{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;}
.tier-hd b{font-size:14.5px;color:#0f172a;}
.tier-hd span{font-size:11.5px;color:#94a3b8;}
.tier-metric{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#475569;margin-bottom:10px;}
.tier-metric .select{height:34px;max-width:170px;font-size:13px;}
.tier-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12.5px;color:#64748b;}
.tier-row .input{height:34px;width:92px;text-align:center;}
.tier-del{border:1px solid #f5c2cd;color:#B3005C;background:#fff7f9;border-radius:8px;padding:4px 10px;font-size:11.5px;cursor:pointer;}
.tier-del:hover{background:#ffe9ef;}
.tier-empty{font-size:12px;color:#94a3b8;padding:8px 0;}
.tier-acts{display:flex;gap:10px;margin-top:10px;align-items:center;}
.tier-pick{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;}
.tier-chip{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:#334155;
  background:#f6f8fb;border:1px solid #e6ebf2;border-radius:999px;padding:4px 11px;cursor:pointer;}
.tier-chip input{accent-color:#B3005C;}
.tier-chip:has(input:checked){background:#fff1f5;border-color:#f5c2d3;color:#B3005C;font-weight:700;}
.tier-batch-bar{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#475569;flex-wrap:wrap;}
.tier-batch-bar .select{height:34px;max-width:150px;font-size:13px;}
.tier-chk{display:inline-flex;align-items:center;gap:5px;cursor:pointer;font-weight:600;}
.tier-note{font-size:11.5px;color:#94a3b8;margin-top:8px;}
.tier-table th{font-size:11.5px;color:#64748b;white-space:nowrap;}
.tier-table td{font-size:12.5px;}
.tier-pos{font-size:10.5px;color:#94a3b8;font-weight:400;margin-left:3px;}
.tier-sub{font-size:10.5px;color:#b6c0cd;margin-left:2px;}
.tier-own{font-size:10.5px;color:#B3005C;background:#fff1f5;border-radius:999px;padding:1px 7px;font-weight:700;}
.tier-rate{color:#B3005C;}
.tier-act{border:1px solid #e2e8f0;background:#f8fafc;color:#334155;border-radius:8px;padding:4px 10px;font-size:11.5px;cursor:pointer;}
.tier-act:hover{background:#eef2f7;}
.tier-act.ghost{color:#94a3b8;background:#fff;}

/* v1316 阶梯：未达成标注 + 现金口径 */
.tier-hint{font-style:normal;font-size:10.5px;color:#B3005C;font-weight:700;min-width:34px;}
.tier-row .input{width:86px;}

/* v1318 阶梯弹窗：业绩指标输入 */
.tier-target-row{display:flex;align-items:flex-end;gap:12px;margin-bottom:12px;padding:10px 12px;
  background:#f8fafc;border:1px solid #e8edf4;border-radius:10px;}
.tier-target-row .field label{font-size:12px;font-weight:700;color:#334155;margin-bottom:4px;display:block;}
.tier-target-row .input{height:38px;width:180px;font-size:14px;font-weight:600;color:#0f172a;}
.tier-target-hint{font-size:11.5px;color:#B3005C;font-weight:600;padding-bottom:8px;}

/* v1319 阶梯结算 */
.settle-tip{font-size:12.5px;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:9px 12px;margin-bottom:12px;line-height:1.5;}
.settle-table th{font-size:11.5px;color:#64748b;white-space:nowrap;}
.settle-table td{font-size:12.5px;white-space:nowrap;}
.settle-table .settle-old{color:#94a3b8;text-decoration:line-through;}
.settle-table .settle-new{color:#B3005C;}
.settle-sum{margin-top:12px;font-size:13px;color:#334155;text-align:right;}
.settle-sum b{color:#B3005C;font-size:15px;}

/* v1320 工资条下方显示阶梯结算说明 */
.pl-strip[data-note]{position:relative;}
.pl-strip[data-note]::after{
  content:attr(data-note);display:block;margin-top:10px;
  font-size:11.5px;color:#b45309;background:#fffbeb;border:1px solid #fde68a;
  border-radius:9px;padding:7px 11px;line-height:1.45;font-weight:600;
}

/* v1322 现金业绩口径说明 */
.tier-def-note{font-size:11.5px;line-height:1.55;color:#64748b;background:#f8fafc;border:1px solid #e8edf4;
  border-radius:9px;padding:8px 11px;margin:-4px 0 12px;}

/* v1323 工资明细里的提成阶梯图 */
.pl-ladder{margin:12px 0 2px;padding:12px 14px;border:1px solid #f6d3dd;border-radius:12px;
  background:linear-gradient(160deg,#fff8fa 0%,#fff5f7 100%);}
.pl-ladder-hd{display:flex;align-items:baseline;gap:10px;font-size:13px;font-weight:800;color:#a8123f;}
.pl-ladder-hd span{font-size:11.5px;font-weight:500;color:#94a3b8;}
.pl-ladder-steps{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;}
.pl-ladder-step{position:relative;flex:1 1 0;min-width:74px;text-align:center;padding:8px 6px;
  border-radius:10px;background:#fff;border:1.5px solid #eef1f6;}
.pl-ladder-step b{display:block;font-size:12.5px;color:#334155;}
.pl-ladder-step em{display:block;font-style:normal;font-size:15px;font-weight:800;color:#0f766e;margin-top:2px;}
.pl-ladder-step.low em{color:#B3005C;}
.pl-ladder-step.on{border-color:#D6006E;background:#fff1f5;box-shadow:0 8px 18px -14px rgba(194,24,91,.9);}
.pl-ladder-step.on b{color:#a8123f;}
.pl-ladder-step i{position:absolute;top:-8px;right:6px;font-style:normal;font-size:10px;font-weight:800;
  color:#fff;background:#D6006E;border-radius:999px;padding:1px 6px;}
.pl-ladder-sum{margin-top:9px;font-size:12px;color:#64748b;text-align:right;}
.pl-ladder-sum b{color:#B3005C;font-size:14px;}

/* ===== v1324 阶梯改成文字明细 + 进度条 ===== */
.pl-ladder{margin:12px 0 4px;padding:14px 16px;border:1px solid #f0d9e1;border-radius:14px;
  background:linear-gradient(165deg,#fffdfd 0%,#fff7fa 100%);}
.pl-ladder-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.pl-ladder-title{font-size:14px;font-weight:800;color:#a8123f;display:flex;align-items:baseline;gap:8px;}
.pl-ladder-title span{font-size:11.5px;font-weight:500;color:#94a3b8;}
.pl-ladder-kpi{display:flex;gap:22px;flex-wrap:wrap;}
.pl-ladder-kpi div{display:flex;flex-direction:column;gap:2px;}
.pl-ladder-kpi span{font-size:11px;color:#94a3b8;}
.pl-ladder-kpi b{font-size:15px;font-weight:800;color:#0f172a;}
.pl-ladder-kpi b.ok{color:#0f766e;}
.pl-ladder-kpi b.warn{color:#b45309;}
.pl-ladder-kpi b.bad{color:#B3005C;}
.pl-ladder-bar{position:relative;height:10px;border-radius:999px;background:#f1e4e9;margin:12px 0 14px;}
.pl-ladder-bar i{display:block;height:100%;border-radius:999px;transition:width .3s;}
.pl-ladder-bar i.good{background:linear-gradient(90deg,#34d399,#0f766e);}
.pl-ladder-bar i.warn{background:linear-gradient(90deg,#fbbf24,#d97706);}
.pl-ladder-bar i.bad{background:linear-gradient(90deg,#FF6FB0,#B3005C);}
.pl-ladder-bar em{position:absolute;top:-4px;width:2px;height:18px;background:#a8123f;border-radius:2px;transform:translateX(-1px);}
.pl-ladder-list{display:flex;flex-direction:column;gap:6px;}
.pl-tier-line{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;
  background:#fff;border:1px solid #f1f5f9;font-size:12.5px;color:#64748b;}
.pl-tier-line.on{background:#fff1f5;border-color:#f5c2d3;box-shadow:0 6px 16px -14px rgba(194,24,91,.9);}
.pl-tier-line .tl-label{font-size:11.5px;color:#94a3b8;}
.pl-tier-line .tl-rate{color:#334155;font-weight:700;min-width:110px;}
.pl-tier-line .tl-arrow{color:#cbd5e1;}
.pl-tier-line .tl-com{color:#0f766e;font-weight:800;font-size:14px;}
.pl-tier-line.on .tl-com{color:#B3005C;}
.pl-tier-line .tl-cur{margin-left:auto;font-style:normal;font-size:10.5px;font-weight:800;color:#fff;
  background:#D6006E;border-radius:999px;padding:2px 9px;}
.pl-ladder-sum{margin-top:10px;font-size:12.5px;color:#475569;text-align:right;}
.pl-ladder-sum b{color:#B3005C;font-size:16px;margin-left:4px;}
.pl-ladder-sum span{color:#94a3b8;margin-left:6px;font-size:11.5px;}

/* v1325 阶梯横向紧凑排布 */
.pl-ladder{padding:12px 14px !important;}
.pl-ladder-top{gap:12px !important;}
.pl-ladder-kpi{gap:18px !important;}
.pl-ladder-kpi b{font-size:14px !important;}
.pl-ladder-bar{height:8px !important;margin:10px 0 10px !important;}
.pl-ladder-list{flex-direction:row !important;gap:8px !important;align-items:stretch;}
.pl-tier-line{
  position:relative;flex:1 1 0;min-width:0;
  display:flex !important;flex-direction:column;gap:3px;
  padding:8px 10px !important;border-radius:10px;
}
.pl-tier-line .tl-row{display:flex;align-items:baseline;justify-content:space-between;gap:6px;min-width:0;}
.pl-tier-line .tl-row span{font-size:11px;color:#94a3b8;white-space:nowrap;}
.pl-tier-line .tl-rate{font-size:12.5px;font-weight:800;color:#334155;white-space:nowrap;}
.pl-tier-line .tl-com{font-size:15px;font-weight:800;color:#0f766e;}
.pl-tier-line.on .tl-com{color:#B3005C;}
.pl-tier-line .tl-cur{
  position:absolute;top:-8px;right:6px;font-style:normal;font-size:9.5px;font-weight:800;
  color:#fff;background:#D6006E;border-radius:999px;padding:1px 6px;line-height:1.5;
}
.pl-tier-line .tl-arrow{display:none;}
@media (max-width: 760px){
  .pl-ladder-list{flex-wrap:wrap !important;}
  .pl-tier-line{flex:1 1 45% !important;}
}

/* ===== v1326 阶梯页：只有参加者才走阶梯 ===== */
.tier-stat-row{display:flex;align-items:center;gap:18px;margin-bottom:12px;flex-wrap:wrap;}
.tier-stat{display:flex;flex-direction:column;}
.tier-stat b{font-size:20px;font-weight:800;color:#B3005C;}
.tier-stat span{font-size:11px;color:#94a3b8;}
.tier-badge{display:inline-block;font-size:10.5px;font-weight:800;border-radius:999px;padding:2px 9px;
  color:#fff;background:linear-gradient(135deg,#FF2D8A,#B3005C);}
.tier-badge.off{color:#94a3b8;background:#f1f5f9;}
.tier-table tr.tier-on{background:#fffdfd;}
.tier-table tr.tier-on td{border-bottom-color:#fbe7ee;}
.tier-table tr.tier-off{opacity:.62;}
.tier-table tr.tier-off:hover{opacity:1;}

/* v1327 批量设置里的指标输入 */
.tier-batch-target{display:flex;align-items:center;gap:10px;margin:4px 0 12px;flex-wrap:wrap;}
.tier-batch-target label{font-size:12px;font-weight:700;color:#334155;white-space:nowrap;}
.tier-batch-target .input{height:36px;width:220px;font-size:13.5px;font-weight:600;}
.tier-batch-target .tier-sub{font-size:11.5px;color:#94a3b8;}

/* ===== v1328 预约弹窗分两区 ===== */
.ap-sec{border:1px solid #e8edf4;background:#f8fafc;border-radius:12px;padding:12px 14px 2px;margin-bottom:12px;}
.ap-sec-svc{background:#fbfcff;border-color:#e6ecf5;}
.ap-sec-hd{font-size:13px;font-weight:800;color:#0f172a;margin-bottom:10px;}
.ap-sec-hd::before{content:'';display:inline-block;width:3px;height:13px;border-radius:2px;
  background:linear-gradient(180deg,#FF2D8A,#B3005C);margin-right:7px;vertical-align:-2px;}
.ap-member-picked{margin-top:6px;font-size:12px;color:#0f766e;font-weight:700;}

/* v1329 预约第一区上色：玫红卡片；第二区浅灰 */
.ap-sec{background:#fff;border:1px solid #f3dde5;border-radius:12px;padding:12px 14px 2px;margin-bottom:12px;
  box-shadow:0 10px 24px -22px rgba(179,0,92,.55);}
.ap-sec:first-child{background:linear-gradient(160deg,#fff7fa 0%,#fffafc 60%,#ffffff 100%);border-color:#f6c9d8;}
.ap-sec-hd{font-size:13px;font-weight:800;color:#a8123f;margin-bottom:10px;}
.ap-sec-svc{background:linear-gradient(160deg,#f8fafc 0%,#fbfcfe 100%);border-color:#e4eaf3;box-shadow:none;}
.ap-sec-svc .ap-sec-hd{color:#334155;}
.ap-sec-svc .ap-sec-hd::before{background:linear-gradient(180deg,#94a3b8,#64748b);}

/* v1331 预约弹窗：统一两列网格，字段宽度对齐 */
.ap-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;padding-bottom:8px;}
.ap-grid .field{min-width:0;margin:0;}
.ap-grid .field label{display:block;font-size:12.5px;color:#334155;font-weight:700;margin-bottom:5px;}
.ap-grid .field .input,.ap-grid .field .select{width:100%;height:40px;}
.ap-sec .form-row{gap:14px;}
.ap-sec .field .input,.ap-sec .field .select{height:40px;}
@media (max-width: 680px){
  .ap-grid{grid-template-columns:1fr;}
}

/* v1332 手机端：侧栏必须隐藏、内容占满，别把电脑侧栏挤进来 */
@media (max-width: 900px){
  aside.sidebar,#sidebar{display:none !important;width:0 !important;height:0 !important;min-height:0 !important;}
  html.force-m aside.sidebar,html.force-m #sidebar{display:none !important;}
  .content{margin-left:0 !important;width:100% !important;}
  body{background-image:none !important;}
}
html.force-m aside.sidebar,html.force-m #sidebar{display:none !important;}
html.force-m .content{margin-left:0 !important;}
html.force-m body{background-image:none !important;}
html.force-pc body.modal-open #sidebar{position:fixed !important;}

/* v1333 预约时间：可直接输入 + 快捷日期 */
.ap-time-chips{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap;}
.ap-time-chips button{
  font-size:11.5px;font-weight:600;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;
  border-radius:999px;padding:3px 10px;cursor:pointer;line-height:1.4;
}
.ap-time-chips button:active{background:#fde7ef;border-color:#f5c2d3;color:#B3005C;}

/* v1334 预约日期/时间分开输入，点击区域更大 */
.ap-when{grid-column:1 / -1;}
.ap-when-row{display:grid;grid-template-columns:1.7fr 1fr;gap:10px;}
.ap-when-row .ap-date,.ap-when-row .ap-clock{height:44px;font-size:15px;font-weight:700;letter-spacing:.5px;text-align:center;}
.ap-when-row .ap-clock{letter-spacing:1px;}
@media (max-width: 680px){
  .ap-when-row{grid-template-columns:1.6fr 1fr;}
}

/* ===== v1338 底部滚轮选择（日期/时间） ===== */
.wheel-mask{position:fixed;inset:0;z-index:3000;background:rgba(15,23,42,.42);
  display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .18s;}
.wheel-mask.on{opacity:1;}
.wheel-sheet{width:100%;max-width:520px;background:#fff;border-radius:16px 16px 0 0;
  padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));box-shadow:0 -14px 40px -20px rgba(15,23,42,.45);
  transform:translateY(12px);transition:transform .18s;}
.wheel-mask.on .wheel-sheet{transform:translateY(0);}
.wheel-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.wheel-hd span{font-size:14.5px;font-weight:800;color:#0f172a;}
.wheel-x{border:0;background:#f1f5f9;color:#64748b;width:30px;height:30px;border-radius:50%;font-size:17px;line-height:1;cursor:pointer;}
.wheel-cols{display:flex;gap:10px;justify-content:center;position:relative;padding:6px 0;}
.wheel-cols::before{content:'';position:absolute;left:6%;right:6%;top:50%;height:40px;transform:translateY(-50%);
  border-radius:10px;background:#fff7fa;border:1px solid #f7d4e0;pointer-events:none;}
.wheel-col{position:relative;flex:1 1 0;max-width:150px;height:132px;overflow-y:auto;scroll-snap-type:y mandatory;
  scrollbar-width:none;text-align:center;}
.wheel-col::-webkit-scrollbar{display:none;}
.wheel-track{padding:44px 0;}
.wheel-item{height:44px;line-height:44px;font-size:18px;font-weight:700;color:#334155;scroll-snap-align:center;}
.wheel-unit{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:11px;color:#cbd5e1;pointer-events:none;}
.wheel-ft{display:flex;gap:10px;margin-top:12px;}
.wheel-ft .btn{flex:1;height:44px;}

/* ===== v1341 预约弹窗紧凑排版（按常规后台密度） ===== */
.modal:has(#ap-date) .modal-body{padding:12px 14px !important;}
.modal:has(#ap-date) .ap-sec{padding:10px 12px 2px !important;margin-bottom:8px !important;border-radius:10px !important;}
.modal:has(#ap-date) .ap-sec-hd{font-size:12.5px !important;margin-bottom:6px !important;}
.modal:has(#ap-date) .ap-sec-hd::before{height:12px !important;margin-right:6px !important;}
.modal:has(#ap-date) .ap-sec .field label{font-size:12px !important;margin-bottom:3px !important;font-weight:600 !important;}
.modal:has(#ap-date) .ap-sec .input,
.modal:has(#ap-date) .ap-sec .select{height:36px !important;font-size:13.5px !important;border-radius:8px !important;padding:0 10px !important;}
.modal:has(#ap-date) .ap-grid{gap:8px 10px !important;padding-bottom:2px !important;}
.modal:has(#ap-date) .ap-grid .field .input,
.modal:has(#ap-date) .ap-grid .field .select{height:36px !important;}
.modal:has(#ap-date) .ap-when{grid-column:1 / -1;}
.modal:has(#ap-date) .ap-when-row{gap:8px !important;}
.modal:has(#ap-date) .ap-when-row .ap-date,
.modal:has(#ap-date) .ap-when-row .ap-clock{height:38px !important;font-size:14px !important;font-weight:700 !important;letter-spacing:.3px !important;}
.modal:has(#ap-date) .ap-time-chips{gap:5px !important;margin-top:5px !important;}
.modal:has(#ap-date) .ap-time-chips button{font-size:11px !important;padding:2px 8px !important;}
.modal:has(#ap-date) .modal-foot{padding:10px 14px !important;}
.modal:has(#ap-date) .modal-foot .btn{height:38px !important;font-size:13px !important;}
.modal:has(#ap-date) .form-row{gap:10px !important;}
.modal:has(#ap-date) .ap-sec .field{margin-bottom:8px !important;}

/* v1342 预约弹窗再压一档：一屏放下 */
.modal:has(#ap-date) .modal-body{padding:10px 12px !important;}
.modal:has(#ap-date) .ap-sec{padding:8px 10px 0 !important;margin-bottom:6px !important;}
.modal:has(#ap-date) .ap-sec-hd{font-size:12px !important;margin-bottom:5px !important;}
.modal:has(#ap-date) .ap-sec .field label{font-size:11.5px !important;margin-bottom:2px !important;}
.modal:has(#ap-date) .ap-sec .input,
.modal:has(#ap-date) .ap-sec .select{height:34px !important;font-size:13px !important;border-radius:7px !important;}
.modal:has(#ap-date) .ap-grid{gap:6px 9px !important;padding-bottom:0 !important;}
.modal:has(#ap-date) .ap-sec .field{margin-bottom:6px !important;}
.modal:has(#ap-date) .ap-when-row .ap-date,
.modal:has(#ap-date) .ap-when-row .ap-clock{height:36px !important;font-size:13.5px !important;}
.modal:has(#ap-date) .ap-time-chips{margin-top:4px !important;}
.modal:has(#ap-date) .ap-time-chips button{font-size:10.5px !important;padding:1px 7px !important;}
@media (max-width: 680px){
  .modal:has(#ap-date) .ap-grid{grid-template-columns:1fr 1fr !important;}
}

/* ===== v1343 下拉/联想面板：浮层 + 背景虚化 ===== */
#drop-scrim{
  position:fixed;inset:0;z-index:1150;pointer-events:none;
  background:rgba(15,23,42,.18);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  opacity:0;transition:opacity .14s ease;
}
#drop-scrim.on{opacity:1;}
#ap-member-result.drop-layer,.pm-dropdown.drop-layer,#pos-search-drop.drop-layer,#ob-drop.drop-layer{
  position:relative;z-index:1250;
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(10px) saturate(1.15);
  backdrop-filter:blur(10px) saturate(1.15);
  border:1px solid #e6ebf2;border-radius:12px;
  box-shadow:0 18px 44px -20px rgba(15,23,42,.5);
  margin-top:6px;max-height:280px;overflow-y:auto;
}

/* v1344 修正：虚化层会把弹窗一起糊掉，改成只糊下拉面板自身背后的内容 */
#drop-scrim{display:none !important;}
#ap-member-result.drop-layer,.pm-dropdown.drop-layer,#pos-search-drop.drop-layer,#ob-drop.drop-layer{
  background:rgba(255,255,255,.97) !important;
  -webkit-backdrop-filter:blur(16px) saturate(1.2) !important;
  backdrop-filter:blur(16px) saturate(1.2) !important;
  box-shadow:0 22px 50px -22px rgba(15,23,42,.55) !important;
}
/* 面板内的会员行：白底 + 分隔线，滚动时不透出下面文字 */
#ap-member-result.drop-layer > *{background:#fff;}

/* ===== v1345 手机端统计卡：四张一行，不再 2×2 ===== */
html.force-m .m-stats,
html.force-m #ap-mstats,
@media (max-width: 900px){
  .m-stats{grid-template-columns:repeat(4, minmax(0, 1fr)) !important;gap:6px !important;}
  .m-stat{padding:8px 6px !important;border-radius:11px !important;}
  .m-stat .lb{font-size:10px !important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .m-stat .vl{font-size:17px !important;margin:2px 0 1px !important;}
  .m-stat .sb{font-size:9.5px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}

/* ===== v1345 手机端统计卡：四张一行，不再 2×2 ===== */
@media (max-width: 900px){
  .m-stats{grid-template-columns:repeat(4, minmax(0, 1fr)) !important;gap:6px !important;}
  .m-stat{padding:8px 6px !important;border-radius:11px !important;}
  .m-stat .lb{font-size:10px !important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .m-stat .vl{font-size:17px !important;margin:2px 0 1px !important;}
  .m-stat .sb{font-size:9.5px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}

/* ===== v1347 下拉：其余内容虚化，面板清晰 ===== */
#drop-scrim{
  position:absolute;inset:0;z-index:20;pointer-events:none;display:block;
  background:rgba(15,23,42,.16);
  -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
  opacity:0;transition:opacity .14s ease;border-radius:inherit;
}
#drop-scrim.on{opacity:1;}
.drop-layer{position:relative !important;z-index:30 !important;}
#ap-member-result.drop-layer,.pm-dropdown.drop-layer,#pos-search-drop.drop-layer,#ob-drop.drop-layer{
  background:#fff !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  border:1px solid #e6ebf2 !important;border-radius:12px !important;
  box-shadow:0 22px 50px -18px rgba(15,23,42,.5) !important;
  margin-top:6px !important;max-height:260px !important;overflow-y:auto !important;
}

/* ===== v1348 下拉面板浮到顶层 + 其余虚化 ===== */
#drop-scrim{
  position:fixed;inset:0;z-index:1400;pointer-events:none;
  background:rgba(15,23,42,.22);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  opacity:0;transition:opacity .14s ease;
}
#drop-scrim.on{opacity:1;}
#ap-member-result.drop-layer,.pm-dropdown.drop-layer,#pos-search-drop.drop-layer,#ob-drop.drop-layer{
  position:fixed !important;z-index:1420 !important;background:#fff !important;
  border:1px solid #e6ebf2 !important;border-radius:12px !important;
  box-shadow:0 24px 55px -18px rgba(15,23,42,.55) !important;
  max-height:240px !important;overflow-y:auto !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
}

/* v1352 下拉：面板原位清晰，弹窗其余内容虚化 */
#drop-scrim{display:none !important;}
.modal{position:relative;}
.modal.dimmed::after{
  content:'';position:absolute;inset:0;z-index:6;pointer-events:none;border-radius:inherit;
  background:rgba(15,23,42,.18);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.modal.dimmed .drop-layer{
  position:relative !important;z-index:8 !important;
  background:#fff !important;border:1px solid #e6ebf2 !important;border-radius:12px !important;
  box-shadow:0 18px 40px -16px rgba(15,23,42,.5) !important;
  max-height:240px !important;overflow-y:auto !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
}

/* v1353 覆盖旧浮动样式：面板回原位、占满宽度 */
.modal.dimmed #ap-member-result.drop-layer,
.modal.dimmed .pm-dropdown.drop-layer,
.modal.dimmed #pos-search-drop.drop-layer,
.modal.dimmed #ob-drop.drop-layer{
  position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;
  width:100% !important;max-width:100% !important;z-index:8 !important;
  margin:6px 0 0 !important;
}

/* v1354 下拉虚化调淡 + 锁住背景滚动 */
.modal.dimmed::after{
  background:rgba(15,23,42,.10) !important;
  -webkit-backdrop-filter:blur(2px) !important;backdrop-filter:blur(2px) !important;
}
.modal.dimmed .modal-body{overflow:hidden !important;}

/* ===== v1357 预约卡片：左侧状态彩条 ===== */
.m-card.ap-mcard{position:relative;display:block !important;padding:0 !important;overflow:hidden;
  border:1.5px solid #f3d7e2;background:linear-gradient(90deg,#fff7fa 0%,#fff 38%);}
.ap-mcard .ap-strip{
  position:absolute;left:0;top:0;bottom:0;width:32px;
  display:flex;align-items:center;justify-content:center;
  writing-mode:vertical-rl;text-orientation:upright;letter-spacing:3px;
  font-size:11px;font-weight:800;color:#fff;
  background:linear-gradient(180deg,#FF2D8A,#B3005C);
}
.ap-mcard .ap-card-body{padding:11px 12px 11px 42px;}
.ap-mcard .ap-mcard-h{display:flex;align-items:center;gap:8px;}
.ap-mcard .ap-mcard-h b{font-size:15px;color:#0f172a;}
.ap-mcard .ap-mcard-h span{font-size:14px;font-weight:700;color:#334155;}
.ap-mcard .ap-mcard-h i{margin-left:auto;}
.ap-mcard .ap-mcard-b{margin-top:6px;font-size:12.5px;color:#64748b;line-height:1.45;}
.ap-mcard .ap-mcard-f{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap;}
/* 已到店/完成/取消：彩条换色 */
.m-card.ap-mcard[data-st="arrived"] .ap-strip{background:linear-gradient(180deg,#38bdf8,#0284c7);}
.m-card.ap-mcard[data-st="done"] .ap-strip{background:linear-gradient(180deg,#34d399,#0f766e);}
.m-card.ap-mcard[data-st="cancel"] .ap-strip,.m-card.ap-mcard[data-st="noshow"] .ap-strip{background:linear-gradient(180deg,#cbd5e1,#94a3b8);}

/* ===== v1359 预约报表：手机端筛选条重排，不压数据 ===== */
.rp-bar{background:#fff;position:relative;z-index:2;padding-bottom:8px;border-bottom:1px solid #eef2f7;margin-bottom:10px;}
.rp-filters .input{height:36px;}
@media (max-width: 700px){
  .rp-bar{display:flex !important;flex-direction:column;gap:8px;}
  .rp-presets{display:flex;gap:6px;width:100%;}
  .rp-presets .rp-chip{flex:1 1 0;text-align:center;font-size:12.5px;padding:6px 0;}
  .rp-filters{display:grid !important;grid-template-columns:1fr auto 1fr;gap:6px 6px;width:100%;}
  .rp-filters #ar-from,.rp-filters #ar-to{width:100%;min-width:0;}
  .rp-filters .rp-tilde{display:flex;align-items:center;justify-content:center;font-size:12px;color:#94a3b8;}
  .rp-filters #ar-staff,.rp-filters #ar-dept{grid-column:1 / -1;width:100%;}
  .rp-filters #ar-query{grid-column:1 / -1;width:100%;height:38px;}
  .modal:has(#ar-body) .modal-body{padding:10px 12px !important;}
}

/* ===== v1361 服务人员与提成：手机端单列适配 ===== */
.role-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;min-width:0;}
.role-pos{flex:0 0 auto;background:#edf7f2;color:#0f766e;font-weight:800;border-radius:8px;padding:6px 10px;font-size:12.5px;white-space:nowrap;}
.role-staff{flex:1 1 auto;min-width:0 !important;height:40px;}
.role-desig{flex:0 0 auto;display:flex;align-items:center;gap:5px;font-size:12.5px;color:#334155;white-space:nowrap;}
.role-amt-wrap{flex:0 0 auto;display:flex;align-items:center;gap:5px;font-size:12.5px;color:#334155;white-space:nowrap;}
.role-amt{width:96px !important;height:40px !important;}
@media (max-width: 700px){
  .role-row{
    display:grid !important;grid-template-columns:auto 1fr;
    grid-template-areas:"pos staff" "desig amt";
    gap:7px 8px;align-items:center;
    padding:9px 10px;border:1px solid #eef2f7;border-radius:10px;background:#fbfcfe;
  }
  .role-pos{grid-area:pos;}
  .role-staff{grid-area:staff;width:100% !important;min-width:0 !important;}
  .role-desig{grid-area:desig;}
  .role-amt-wrap{grid-area:amt;justify-content:flex-end;}
  .role-amt{width:88px !important;}
  /* 头像快捷区：横向滚动更顺 */
  .aq-list{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;}
  .aq-item{flex:0 0 auto;}
  .modal:has(.role-row) .modal-body{padding:10px 12px !important;}
}

/* v1362 服务人员行：回到单行，只留小提成框 */
@media (max-width: 700px){
  .role-row{
    display:flex !important;flex-wrap:nowrap !important;align-items:center !important;
    gap:6px !important;padding:7px 8px !important;
  }
  .role-pos{font-size:11px !important;padding:5px 7px !important;border-radius:7px !important;}
  .role-staff{flex:1 1 auto !important;min-width:0 !important;width:auto !important;height:36px !important;font-size:12.5px !important;padding:0 6px !important;}
  .role-desig{flex:0 0 auto !important;font-size:11px !important;gap:3px !important;}
  .role-amt-wrap{flex:0 0 auto !important;font-size:0 !important;gap:0 !important;}
  .role-amt-wrap::before{content:'¥';font-size:11px;color:#94a3b8;margin-right:3px;}
  .role-amt{width:64px !important;height:36px !important;font-size:12.5px !important;padding:0 6px !important;}
}

/* v1363 返回手势：快照层不遮挡、不残留 */
.pg-snap{background:#f4f6f8 !important;pointer-events:none !important;}
.pg-snap > div[style*="返回工作台"]{display:none !important;}

/* ===== v1369 已选会员条：左侧等级彩条 ===== */
#pos-member.pos-member-picked{position:relative;padding-left:42px !important;overflow:hidden;}
#pos-member .pm-strip{
  position:absolute;left:0;top:0;bottom:0;width:32px;
  display:flex;align-items:center;justify-content:center;
  writing-mode:vertical-rl;text-orientation:upright;letter-spacing:2px;
  font-size:10.5px;font-weight:800;color:#fff;line-height:1.15;text-align:center;
  border-radius:10px 0 0 10px;padding:4px 0;
}
#pos-member.lv-gold .pm-strip{background:linear-gradient(180deg,#f6c453,#c98a12);}
#pos-member.lv-silver .pm-strip{background:linear-gradient(180deg,#cbd5e1,#94a3b8);}
#pos-member.lv-diamond .pm-strip{background:linear-gradient(180deg,#7dd3fc,#0284c7);}
#pos-member.lv-times .pm-strip{background:linear-gradient(180deg,#86b98a,#4f7f52);}
#pos-member.lv-normal .pm-strip{background:linear-gradient(180deg,#a8b3c4,#64748b);}
#pos-member .pm-strip{font-size:10px;letter-spacing:1px;}

/* ===== v1391 溢出修复：圆环中心文字、本月合计被压 ===== */
.av2 .donut.ec-ring .donut-c b{font-size:20px !important;line-height:1.15 !important;white-space:nowrap !important;}
.av2 .donut.ec-ring .donut-c span{font-size:10px !important;}
.av2 .donut.ec-ring .donut-c small{font-size:9.5px !important;}
/* 右列两张卡改为自然堆叠，不再互相压住 */
.av2 .g-stack{display:flex !important;flex-direction:column !important;gap:14px !important;}
.av2 .g-stack > section{flex:0 0 auto !important;height:auto !important;min-height:0 !important;overflow:visible !important;}
.av2 .g-stack > section .trend-foot{display:flex !important;flex-wrap:wrap !important;gap:6px 12px !important;font-size:12px !important;line-height:1.5 !important;}
.av2 .g-stack > section .mcal{overflow:visible !important;}

/* ===== v1392 手机端：定金并入方块、色卡更细、去掉多余空白 ===== */
@media (max-width: 900px){
  /* 今日定金不再单独占一整行 */
  .kpi.kpi-deposit{grid-column:auto !important;width:auto !important;max-width:none !important;flex:none !important;}
  .kpi-grid .kpi-deposit,.kpis .kpi-deposit,.kpi-wrap .kpi-deposit{grid-column:auto !important;}

  /* 收款明细：色卡更细更短 */
  .ch-detail-wrap{align-items:flex-start !important;gap:8px !important;padding-bottom:0 !important;margin-bottom:0 !important;}
  .ch-detail-list{gap:4px !important;}
  .ch-detail-list .ch-card-row{height:24px !important;min-height:24px !important;padding:0 8px 0 6px !important;border-radius:6px !important;gap:6px !important;}
  .ch-detail-list .ch-card-row .ch-logo{width:14px !important;height:14px !important;flex:0 0 14px !important;border-radius:4px !important;}
  .ch-detail-list .ch-card-row .ch-logo svg{width:10px !important;height:10px !important;}
  .ch-detail-list .ch-card-row .ch-name{font-size:10px !important;line-height:24px !important;}
  .ch-detail-list .ch-card-row .ch-val{font-size:11px !important;line-height:24px !important;}
  .ch-detail-list .ch-card-row .ch-cn{font-size:8.5px !important;line-height:24px !important;margin-left:3px !important;}

  /* 去掉卡片底部多余空白 */
  .av2 section.card:has(#pc-donut-chart){padding-bottom:8px !important;}
  .donut-foot{margin:2px 0 0 !important;font-size:11px !important;}
  .av2 .donut.ec-ring .donut-c b{font-size:17px !important;}
  .av2 .donut.ec-ring .donut-c span{font-size:9.5px !important;}
  .av2 .donut.ec-ring .donut-c small{font-size:9px !important;}
}

/* ===== v1393 手机端修正：定金方块、圆环居中且中心文字可见 ===== */
@media (max-width: 900px){
  /* 定金：和其它方块同款竖排 */
  .kpi.kpi-deposit{display:block !important;grid-column:span 1 !important;padding:12px 14px !important;}
  .kpi.kpi-deposit .kpi-label{display:block !important;margin-bottom:6px !important;}
  .kpi.kpi-deposit .kpi-value{display:block !important;font-size:22px !important;line-height:1.15 !important;margin:0 0 4px !important;}
  .kpi.kpi-deposit .kpi-foot{display:block !important;font-size:11.5px !important;}
  .kpi.kpi-deposit .kpi-foot span{display:block !important;}

  /* 圆环：固定尺寸、居中、文字压在图表之上 */
  .ch-detail-wrap{align-items:center !important;}
  .donut-col{flex:0 0 150px !important;width:150px !important;max-width:150px !important;align-items:center !important;}
  .donut-col .donut,
  .av2 .donut.ec-ring{width:150px !important;height:150px !important;max-width:150px !important;max-height:150px !important;}
  .av2 .donut.ec-ring #pc-donut-chart{width:150px !important;height:150px !important;position:absolute !important;inset:0 !important;}
  .av2 .donut.ec-ring .donut-c{position:absolute !important;inset:0 !important;z-index:4 !important;background:transparent !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;}
  .av2 .donut.ec-ring .donut-c b{font-size:15px !important;color:#0f172a !important;}
}

/* ===== v1394 手机端：强制显示圆环中心文字 ===== */
@media (max-width: 900px){
  html.force-m .av2 .donut.ec-ring .donut-c,
  .av2 .donut.ec-ring .donut-c{
    display:flex !important;
    position:absolute !important;
    inset:0 !important;
    z-index:6 !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:2px !important;
    background:transparent !important;
    pointer-events:none !important;
    visibility:visible !important;
    opacity:1 !important;
    width:auto !important;
    height:auto !important;
  }
  .av2 .donut.ec-ring .donut-c b{display:block !important;font-size:15px !important;line-height:1.15 !important;color:#0f172a !important;}
  .av2 .donut.ec-ring .donut-c span{display:block !important;font-size:9px !important;color:#94a3b8 !important;}
  .av2 .donut.ec-ring .donut-c small{display:block !important;font-size:9px !important;color:#94a3b8 !important;}
}

/* ===== v1395 覆盖旧规则：手机端显示圆环中心金额 ===== */
@media (max-width: 900px){
  html.force-m .av2 .g84r > .card:first-child .donut-col .donut.ec-ring .donut-c,
  html.force-m .av2 .g84r > .card:first-child .donut.ec-ring .donut-c,
  .av2 .g84r > .card:first-child .donut.ec-ring .donut-c{
    display:flex !important;
    position:absolute !important;
    inset:0 !important;
    z-index:6 !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    background:transparent !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:none !important;
  }
}

/* ===== v1396 手机端「收款明细」重新排版：紧凑一排 ===== */
@media (max-width: 900px){
  /* 卡片内边距收紧 */
  html.force-m .av2 .g84r > .card:first-child,
  .av2 .g84r > .card:first-child{padding:12px 12px 10px !important;}
  .av2 .g84r > .card:first-child .card-hd{margin-bottom:8px !important;}
  html.force-m .av2 .g84r > .card:first-child .card-hd h3,
  .av2 .g84r > .card:first-child .card-hd h3{font-size:14.5px !important;}
  html.force-m .av2 .g84r > .card:first-child .card-hd .link,
  .av2 .g84r > .card:first-child .card-hd .link{font-size:10.5px !important;}

  /* 一排：左圆环 + 右色卡 */
  .ch-detail-wrap{
    display:flex !important;flex-direction:row !important;align-items:center !important;
    gap:10px !important;flex-wrap:nowrap !important;
  }
  .donut-col{
    flex:0 0 128px !important;width:128px !important;max-width:128px !important;
    display:flex !important;flex-direction:column !important;align-items:center !important;gap:6px !important;
  }
  .donut-col .donut,
  .av2 .donut.ec-ring{width:128px !important;height:128px !important;max-width:128px !important;max-height:128px !important;}
  html.force-m .av2 .donut.ec-ring #pc-donut-chart,
  .av2 .donut.ec-ring #pc-donut-chart{width:128px !important;height:128px !important;position:absolute !important;inset:0 !important;}
  .av2 .donut.ec-ring .donut-c b{font-size:14px !important;}
  .av2 .donut.ec-ring .donut-c span{font-size:8.5px !important;}
  .av2 .donut.ec-ring .donut-c small{font-size:8.5px !important;}
  /* 环内百分比标签缩小 */
  .av2 .donut.ec-ring canvas{max-width:128px !important;}

  /* 合计：拆成两行小字放在圆环下方 */
  .donut-col .donut-foot{
    position:static !important;display:block !important;margin:0 !important;
    font-size:9.5px !important;line-height:1.45 !important;color:#64748b !important;text-align:center !important;
  }
  .donut-col .donut-foot em{display:block !important;font-size:9px !important;color:#8A5A2B !important;margin-top:1px !important;}

  /* 色卡：更细更短 */
  .ch-detail-wrap .ch-detail-list{
    flex:1 1 auto !important;width:auto !important;max-width:none !important;min-width:0 !important;
    gap:3px !important;
  }
  .ch-detail-list .ch-card-row{
    height:21px !important;min-height:21px !important;max-width:none !important;width:100% !important;
    padding:0 7px 0 5px !important;border-radius:5px !important;gap:5px !important;
  }
  .ch-detail-list .ch-card-row .ch-logo{width:12px !important;height:12px !important;flex:0 0 12px !important;border-radius:3px !important;}
  .ch-detail-list .ch-card-row .ch-logo svg{width:9px !important;height:9px !important;}
  .ch-detail-list .ch-card-row .ch-name{font-size:9.5px !important;line-height:21px !important;}
  .ch-detail-list .ch-card-row .ch-val{font-size:10.5px !important;line-height:21px !important;}
  .ch-detail-list .ch-card-row .ch-cn{font-size:8px !important;line-height:21px !important;margin-left:2px !important;}

  /* 底部「不计入实收」小块：紧凑两列 */
  .av2 .todo-chips.ni-chips{display:grid !important;grid-template-columns:1fr 1fr !important;gap:6px !important;margin-top:8px !important;}
  .av2 .todo-chips.ni-chips .ni-chip{padding:6px 8px !important;font-size:10px !important;}
  .av2 .todo-chips.ni-chips .ni-chip b{font-size:12px !important;}
  .av2 .todo-chips.ni-chips .ni-chip span{font-size:9px !important;}
}

/* ===== v1397 手机端收款明细：圆环 150、中心只留金额与笔数 ===== */
@media (max-width: 900px){
  .donut-col{flex:0 0 150px !important;width:150px !important;max-width:150px !important;}
  .donut-col .donut,
  .av2 .donut.ec-ring{width:150px !important;height:150px !important;max-width:150px !important;max-height:150px !important;}
  html.force-m .av2 .donut.ec-ring #pc-donut-chart,
  .av2 .donut.ec-ring #pc-donut-chart{width:150px !important;height:150px !important;}
  .av2 .donut.ec-ring .donut-c span{display:none !important;}
  .av2 .donut.ec-ring .donut-c b{font-size:13px !important;line-height:1.1 !important;}
  .av2 .donut.ec-ring .donut-c small{font-size:9px !important;margin-top:1px !important;}
  .donut-col .donut-foot{font-size:10px !important;line-height:1.5 !important;}
  .donut-col .donut-foot em{font-size:9.5px !important;}
  .ch-detail-wrap{gap:12px !important;}
  .ch-detail-list .ch-card-row{height:22px !important;min-height:22px !important;}
  .ch-detail-list .ch-card-row .ch-name{font-size:9.5px !important;line-height:22px !important;}
  .ch-detail-list .ch-card-row .ch-val{font-size:10.5px !important;line-height:22px !important;}
  .ch-detail-list .ch-card-row .ch-cn{font-size:8px !important;line-height:22px !important;}
  html.force-m .av2 .g84r > .card:first-child{padding-bottom:8px !important;}
}

/* ===== v1398 手机端：去掉重复合计、中心文字收进内圈 ===== */
@media (max-width: 900px){
  html.force-m .av2 .g84r > .card:first-child .donut-col .donut-foot,
  .av2 .g84r > .card:first-child .donut-col .donut-foot{display:none !important;}
  .av2 .donut.ec-ring .donut-c b{font-size:11.5px !important;letter-spacing:-.2px !important;}
  .av2 .donut.ec-ring .donut-c small{font-size:8.5px !important;}
}

/* ===== v1399 手机版「收款明细」全新组件 ===== */
.chm{display:none;}
@media (max-width: 900px){
  /* 手机端只显示新版，隐藏旧圆环+色卡 */
  html.force-m .av2 .g84r > .card:first-child .ch-detail-wrap,
  .av2 .g84r > .card:first-child .ch-detail-wrap{display:none !important;}
  .chm{display:block !important;}

  .chm-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:2px 0 9px;padding-bottom:9px;border-bottom:1px dashed #eef2f7;}
  .chm-total{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;}
  .chm-total span{font-size:11px;color:#94a3b8;font-weight:600;}
  .chm-total b{font-size:23px;font-weight:800;color:#0f172a;letter-spacing:-.5px;font-variant-numeric:tabular-nums;}
  .chm-total i{font-style:normal;font-size:11px;color:#94a3b8;}
  .chm-extra{font-size:10px;color:#8A5A2B;background:#fdf6ec;border-radius:6px;padding:3px 7px;white-space:nowrap;}

  .chm-list{display:flex;flex-direction:column;gap:6px;}
  .chm-row{display:flex;align-items:center;gap:7px;height:22px;}
  .chm-dot{width:7px;height:7px;border-radius:50%;flex:0 0 7px;opacity:.45;}
  .chm-row.has .chm-dot{opacity:1;box-shadow:0 0 0 2.5px rgba(15,23,42,.05);}
  .chm-nm{flex:0 0 40px;font-size:11px;color:#64748b;font-weight:600;}
  .chm-row.has .chm-nm{color:#0f172a;}
  .chm-bar{flex:1 1 auto;height:5px;border-radius:3px;background:#f1f5f9;overflow:hidden;min-width:0;}
  .chm-bar i{display:block;height:100%;border-radius:3px;opacity:.9;}
  .chm-am{flex:0 0 auto;font-size:12px;font-weight:800;color:#94a3b8;font-variant-numeric:tabular-nums;min-width:64px;text-align:right;}
  .chm-row.has .chm-am{color:#0f172a;}
  .chm-cn{flex:0 0 34px;font-size:9.5px;color:#94a3b8;text-align:right;}
}

/* ===== v1400 手机端「收款明细」：小票清单式（全新样式，不用圆环/色条） ===== */
.chm{display:none;}
@media (max-width: 900px){
  html.force-m .av2 .g84r > .card:first-child .ch-detail-wrap,
  .av2 .g84r > .card:first-child .ch-detail-wrap{display:none !important;}
  .chm{display:block !important;}

  .zp-card{background:#fff;border:1px solid #e8edf4;border-radius:12px;padding:14px 14px 12px;box-shadow:0 1px 3px rgba(15,23,42,.04);}
  .zp-top{text-align:center;padding-bottom:12px;border-bottom:1px dashed #e2e8f0;}
  .zp-amt{font-size:30px;font-weight:800;color:#0f172a;letter-spacing:-1px;line-height:1.1;font-variant-numeric:tabular-nums;}
  .zp-sub{margin-top:4px;font-size:11px;color:#94a3b8;letter-spacing:.3px;}

  .zp-body{padding:10px 0 2px;}
  .zp-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #f4f7fb;}
  .zp-line:last-child{border-bottom:none;}
  .zp-l{display:flex;flex-direction:column;gap:2px;min-width:0;}
  .zp-l b{font-size:12.5px;font-weight:700;color:#0f172a;}
  .zp-l span{font-size:9.5px;color:#94a3b8;}
  .zp-r{font-size:14px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums;white-space:nowrap;}

  .zp-zero{margin-top:8px;padding:7px 9px;background:#f7f9fc;border-radius:8px;font-size:10px;color:#94a3b8;line-height:1.5;}
  .zp-empty{padding:14px 0;text-align:center;font-size:12px;color:#94a3b8;}

  .zp-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid #e8edf4;font-size:11px;color:#64748b;}
  .zp-foot b{font-size:15px;font-weight:800;color:#0f172a;}
  .zp-note{margin-top:8px;font-size:10px;color:#8A5A2B;}
}

/* ===== v1402 小票清单：强制横排、不被外层样式挤断 ===== */
@media (max-width: 900px){
  .chm{display:block !important;width:100% !important;max-width:100% !important;min-width:0 !important;}
  .chm.zp-card{display:block !important;width:100% !important;max-width:100% !important;box-sizing:border-box !important;}
  .zp-top,.zp-body,.zp-foot{width:100% !important;box-sizing:border-box !important;}
  .zp-line{
    display:flex !important;flex-direction:row !important;align-items:center !important;
    justify-content:space-between !important;gap:10px !important;width:100% !important;
    padding:8px 0 !important;border-bottom:1px solid #f4f7fb !important;
  }
  .zp-l{display:flex !important;flex-direction:column !important;gap:2px !important;min-width:0 !important;flex:1 1 auto !important;}
  .zp-l b{display:block !important;font-size:13px !important;font-weight:700 !important;color:#0f172a !important;white-space:nowrap !important;line-height:1.3 !important;}
  .zp-l span{display:block !important;font-size:9.5px !important;color:#94a3b8 !important;white-space:nowrap !important;line-height:1.3 !important;}
  .zp-r{display:block !important;flex:0 0 auto !important;font-size:15px !important;font-weight:800 !important;color:#0f172a !important;white-space:nowrap !important;font-variant-numeric:tabular-nums !important;}
  .zp-amt{font-size:30px !important;line-height:1.1 !important;}
}

/* ===== v1403 员工 PK 对决台（金 VS 银） ===== */
.pk-arena{
  position:relative;overflow:hidden;border-radius:18px;margin-bottom:14px;
  padding:26px 16px 14px;color:#fff;
  background:
    radial-gradient(120% 90% at 50% -18%, rgba(56,189,248,.18) 0%, rgba(56,189,248,0) 58%),
    radial-gradient(90% 70% at 12% 88%, rgba(246,196,83,.16) 0%, rgba(246,196,83,0) 62%),
    radial-gradient(90% 70% at 88% 88%, rgba(203,213,225,.16) 0%, rgba(203,213,225,0) 62%),
    linear-gradient(158deg,#08111e 0%,#0d1c2e 46%,#071019 100%);
  box-shadow:0 16px 36px -18px rgba(2,6,23,.65), inset 0 1px 0 rgba(255,255,255,.06);
  display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:6px;
}
.pk-stars{
  position:absolute;inset:0;pointer-events:none;opacity:.55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #fff 40%, transparent 41%),
    radial-gradient(1.2px 1.2px at 28% 62%, #fff 40%, transparent 41%),
    radial-gradient(1.6px 1.6px at 44% 16%, #cfe8ff 40%, transparent 41%),
    radial-gradient(1.2px 1.2px at 63% 34%, #fff 40%, transparent 41%),
    radial-gradient(1.5px 1.5px at 78% 20%, #ffe7b0 40%, transparent 41%),
    radial-gradient(1.2px 1.2px at 88% 58%, #fff 40%, transparent 41%),
    radial-gradient(1.3px 1.3px at 34% 84%, #fff 40%, transparent 41%),
    radial-gradient(1.2px 1.2px at 70% 78%, #cfe8ff 40%, transparent 41%);
}
.pk-crown{
  position:absolute;top:4px;left:50%;transform:translateX(-50%);
  font-size:22px;line-height:1;color:#f6c453;
  text-shadow:0 0 10px rgba(246,196,83,.85),0 0 26px rgba(246,196,83,.5);
}
.pk-side{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding-bottom:6px;}
.pk-glow{
  position:absolute;top:2px;left:50%;transform:translateX(-50%);
  width:120px;height:120px;border-radius:50%;filter:blur(22px);opacity:.55;pointer-events:none;
}
.pk-side.gold .pk-glow{background:radial-gradient(circle,#f6c453 0%,rgba(246,196,83,0) 70%);}
.pk-side.silver .pk-glow{background:radial-gradient(circle,#cfe0f5 0%,rgba(207,224,245,0) 70%);}
.pk-face{
  width:74px;height:74px;border-radius:50%;display:grid;place-items:center;
  font-size:28px;font-weight:800;letter-spacing:1px;position:relative;z-index:1;
}
.pk-side.gold .pk-face{
  color:#3b2506;background:linear-gradient(160deg,#ffe9a8,#f6c453 46%,#b8860b);
  box-shadow:0 0 0 2px rgba(255,236,170,.75),0 0 22px rgba(246,196,83,.65),inset 0 -6px 12px rgba(120,72,0,.35);
}
.pk-side.silver .pk-face{
  color:#20303f;background:linear-gradient(160deg,#f4f9ff,#cfe0f5 46%,#8fa8c4);
  box-shadow:0 0 0 2px rgba(226,240,255,.8),0 0 22px rgba(203,224,245,.6),inset 0 -6px 12px rgba(40,64,90,.3);
}
.pk-name{font-size:13px;font-weight:700;letter-spacing:.3px;margin-top:2px;position:relative;z-index:1;}
.pk-side.gold .pk-name{color:#ffe6a8;text-shadow:0 0 10px rgba(246,196,83,.55);}
.pk-side.silver .pk-name{color:#e8f2ff;text-shadow:0 0 10px rgba(203,224,245,.5);}
.pk-val{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;position:relative;z-index:1;}
.pk-side.gold .pk-val{color:#fff3cf;}
.pk-side.silver .pk-val{color:#f2f8ff;}
.pk-side.lead .pk-val{font-size:20px;}

.pk-vs{
  align-self:center;font-size:40px;font-weight:900;font-style:italic;letter-spacing:-1px;line-height:1;
  background:linear-gradient(180deg,#fff8dd 0%,#f6c453 42%,#cfe0f5 58%,#ffffff 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 12px rgba(246,196,83,.45)) drop-shadow(0 2px 6px rgba(0,0,0,.55));
  padding:0 6px;
}
.pk-meta{
  grid-column:1 / -1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.1);
  font-size:11.5px;color:rgba(255,255,255,.72);
}
.pk-metric{font-weight:700;color:#f6c453;letter-spacing:.4px;}
.pk-bars{flex:1 1 160px;min-width:120px;display:flex;flex-direction:column;gap:4px;}
.pk-bar{display:block;height:5px;border-radius:3px;}
.pk-bar.gold{background:linear-gradient(90deg,#f6c453,#b8860b);box-shadow:0 0 10px rgba(246,196,83,.5);}
.pk-bar.silver{background:linear-gradient(90deg,#cfe0f5,#8fa8c4);box-shadow:0 0 10px rgba(203,224,245,.45);}
.pk-prize{margin-left:auto;white-space:nowrap;color:rgba(255,255,255,.85);}
@media (max-width:640px){
  .pk-arena{padding:22px 10px 12px;border-radius:14px;gap:2px;}
  .pk-face{width:58px;height:58px;font-size:22px;}
  .pk-vs{font-size:30px;padding:0 2px;}
  .pk-name{font-size:12px;}
  .pk-val{font-size:15px;}
  .pk-side.lead .pk-val{font-size:17px;}
  .pk-prize{width:100%;margin-left:0;font-size:11px;}
}

/* ===== v1405 PK 对决台细化：进行中角标、对比条 ===== */
.pk-badge{
  position:absolute;top:10px;right:12px;z-index:2;
  font-size:10px;font-weight:700;letter-spacing:.5px;color:#08131f;
  background:linear-gradient(135deg,#ffe9a8,#f6c453);
  border-radius:999px;padding:3px 9px;
  box-shadow:0 0 14px rgba(246,196,83,.55);
}
.pk-bars{flex:1 1 200px;min-width:140px;display:flex;flex-direction:column;gap:5px;}
.pk-brow{display:flex;align-items:center;gap:7px;}
.pk-bname{font-style:normal;font-size:10px;font-weight:700;flex:0 0 42px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pk-bname.gold{color:#ffdd8f;}
.pk-bname.silver{color:#dbe9fb;}
.pk-track{position:relative;flex:1 1 auto;height:5px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden;display:block;}
.pk-fill{display:block;height:100%;border-radius:3px;}
.pk-fill.gold{background:linear-gradient(90deg,#b8860b,#ffe9a8);box-shadow:0 0 10px rgba(246,196,83,.6);}
.pk-fill.silver{background:linear-gradient(90deg,#8fa8c4,#f4f9ff);box-shadow:0 0 10px rgba(203,224,245,.55);}
@media (max-width:640px){
  .pk-arena{padding:20px 8px 10px;}
  .pk-badge{top:7px;right:8px;font-size:9px;padding:2px 7px;}
  .pk-bname{flex:0 0 34px;font-size:9px;}
  .pk-meta{gap:6px;font-size:10.5px;}
  .pk-bars{flex:1 1 100%;order:3;}
  .pk-prize{order:2;}
}

/* ===== v1406 PK 对决台：红蓝配色 + 高度减半 ===== */
.pk-arena{
  padding:10px 12px 8px !important;border-radius:14px !important;margin-bottom:10px !important;
  gap:2px !important;align-items:center !important;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(59,130,246,.22) 0%, rgba(59,130,246,0) 60%),
    radial-gradient(90% 80% at 8% 90%, rgba(255,45,138,.28) 0%, rgba(255,45,138,0) 62%),
    radial-gradient(90% 80% at 92% 90%, rgba(59,130,246,.28) 0%, rgba(59,130,246,0) 62%),
    linear-gradient(150deg,#160b12 0%,#0e1424 50%,#0a1020 100%) !important;
}
.pk-crown{font-size:14px !important;top:2px !important;color:#ff7a7a !important;
  text-shadow:0 0 8px rgba(255,45,138,.8) !important;}
.pk-stars{opacity:.35 !important;}

.pk-side{gap:1px !important;padding-bottom:2px !important;}
.pk-glow{width:78px !important;height:78px !important;filter:blur(14px) !important;opacity:.6 !important;top:0 !important;}
.pk-side.gold .pk-glow{background:radial-gradient(circle,#FF2D8A 0%,rgba(255,45,138,0) 70%) !important;}
.pk-side.silver .pk-glow{background:radial-gradient(circle,#3b82f6 0%,rgba(59,130,246,0) 70%) !important;}

.pk-face{width:46px !important;height:46px !important;font-size:19px !important;}
.pk-side.gold .pk-face{
  color:#fff !important;
  background:linear-gradient(160deg,#ff8a8a,#FF2D8A 55%,#991b1b) !important;
  box-shadow:0 0 0 2px rgba(255,150,150,.55),0 0 16px rgba(255,45,138,.75),inset 0 -4px 8px rgba(90,10,10,.35) !important;
}
.pk-side.silver .pk-face{
  color:#fff !important;
  background:linear-gradient(160deg,#93c5fd,#3b82f6 55%,#1d4ed8) !important;
  box-shadow:0 0 0 2px rgba(147,197,253,.55),0 0 16px rgba(59,130,246,.75),inset 0 -4px 8px rgba(10,30,90,.35) !important;
}
.pk-name{font-size:11px !important;margin-top:1px !important;}
.pk-side.gold .pk-name{color:#ffc9c9 !important;text-shadow:0 0 8px rgba(255,45,138,.6) !important;}
.pk-side.silver .pk-name{color:#c9dcff !important;text-shadow:0 0 8px rgba(59,130,246,.6) !important;}
.pk-val{font-size:13px !important;}
.pk-side.gold .pk-val{color:#ffe2e2 !important;}
.pk-side.silver .pk-val{color:#e2edff !important;}
.pk-side.lead .pk-val{font-size:15px !important;}

.pk-vs{
  font-size:24px !important;padding:0 4px !important;
  background:linear-gradient(180deg,#ffd7d7 0%,#FF2D8A 44%,#3b82f6 56%,#ffffff 100%) !important;
  -webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;
  filter:drop-shadow(0 0 8px rgba(255,45,138,.4)) drop-shadow(0 0 10px rgba(59,130,246,.35)) !important;
}

.pk-badge{top:6px !important;right:8px !important;font-size:9px !important;padding:1.5px 7px !important;
  background:linear-gradient(135deg,#f87171,#D6006E) !important;color:#fff !important;
  box-shadow:0 0 10px rgba(255,45,138,.55) !important;}

.pk-meta{margin-top:6px !important;padding-top:6px !important;gap:8px !important;font-size:10.5px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;}
.pk-metric{color:#f87171 !important;font-size:10.5px !important;}
.pk-bars{gap:3px !important;flex:1 1 180px !important;}
.pk-brow{gap:5px !important;}
.pk-bname{flex:0 0 36px !important;font-size:9px !important;}
.pk-bname.gold{color:#ffb4b4 !important;}
.pk-bname.silver{color:#b9d4ff !important;}
.pk-track{height:4px !important;background:rgba(255,255,255,.10) !important;}
.pk-fill.gold{background:linear-gradient(90deg,#991b1b,#f87171) !important;box-shadow:0 0 8px rgba(255,45,138,.6) !important;}
.pk-fill.silver{background:linear-gradient(90deg,#1d4ed8,#7fb3ff) !important;box-shadow:0 0 8px rgba(59,130,246,.6) !important;}
.pk-prize{font-size:10px !important;color:rgba(255,255,255,.8) !important;}

@media (max-width:640px){
  .pk-arena{padding:8px 8px 6px !important;}
  .pk-face{width:38px !important;height:38px !important;font-size:16px !important;}
  .pk-vs{font-size:19px !important;}
  .pk-name{font-size:10px !important;}
  .pk-val{font-size:12px !important;}
  .pk-side.lead .pk-val{font-size:13.5px !important;}
  .pk-crown{font-size:12px !important;}
  .pk-bars{flex:1 1 100% !important;}
}

/* ===== v1407 PK 对决台配色变浅（不再发黑） ===== */
.pk-arena{
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(96,165,250,.32) 0%, rgba(96,165,250,0) 60%),
    radial-gradient(85% 80% at 6% 92%, rgba(248,113,113,.34) 0%, rgba(248,113,113,0) 62%),
    radial-gradient(85% 80% at 94% 92%, rgba(96,165,250,.34) 0%, rgba(96,165,250,0) 62%),
    linear-gradient(150deg,#334462 0%,#3d5478 48%,#33456a 100%) !important;
  box-shadow:0 10px 26px -16px rgba(30,58,96,.5), inset 0 1px 0 rgba(255,255,255,.22) !important;
  border:1px solid rgba(255,255,255,.14) !important;
}
.pk-stars{opacity:.5 !important;}
.pk-name{color:#fff !important;text-shadow:0 1px 4px rgba(15,23,42,.5) !important;}
.pk-side.gold .pk-name{color:#ffd6d6 !important;}
.pk-side.silver .pk-name{color:#d7e6ff !important;}
.pk-val{color:#fff !important;}
.pk-side.gold .pk-val{color:#ffe9e9 !important;}
.pk-side.silver .pk-val{color:#eaf3ff !important;}
.pk-vs{filter:drop-shadow(0 2px 6px rgba(15,23,42,.55)) !important;}
.pk-meta{border-top:1px solid rgba(255,255,255,.22) !important;color:rgba(255,255,255,.9) !important;}
.pk-metric{color:#ffd0d0 !important;}
.pk-bname.gold{color:#ffd6d6 !important;}
.pk-bname.silver{color:#d7e6ff !important;}
.pk-track{background:rgba(255,255,255,.22) !important;}
.pk-prize{color:rgba(255,255,255,.92) !important;}
.pk-crown{color:#ffd9d9 !important;text-shadow:0 0 8px rgba(255,45,138,.7) !important;}
.pk-badge{background:linear-gradient(135deg,#FF6FB0,#D6006E) !important;}

/* ===== v1408 提成阶梯：员工列带头像 ===== */
.tier-who{display:flex;align-items:center;gap:9px;min-width:0;}
.tier-av{width:34px;height:34px;flex:0 0 34px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#eef2f7;}
.tier-av img,.tier-av>.av-img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:50%;display:block;}
.tier-av .av-fallback{width:100%;height:100%;border-radius:50%;}
.tier-av .av-fallback b{font-size:13px;}
.tier-av .av-fallback i{display:none;}
.tier-who b{font-size:13.5px;color:#0f172a;display:block;line-height:1.25;}
.tier-who .tier-pos{display:block;font-size:11px;color:#94a3b8;margin-top:1px;}
@media (max-width:900px){
  .tier-av{width:30px;height:30px;flex:0 0 30px;}
  .tier-who b{font-size:12.5px;}
}

/* ===== v1409 阶梯头像：无照片时圆内文字不溢出 ===== */
.tier-av .av-fallback{padding:0 !important;overflow:hidden !important;gap:0 !important;}
.tier-av .av-fallback b{
  font-size:10.5px !important;line-height:1 !important;letter-spacing:0 !important;
  white-space:nowrap !important;display:block !important;max-width:100% !important;
  transform:scale(.92);
}
.tier-av .av-fallback i{display:none !important;}
@media (max-width:900px){
  .tier-av .av-fallback b{font-size:9.5px !important;}
}

/* ===== v1410 表头背景加深 ===== */
.table thead th,
.tier-table thead th,
.table-wrap .table thead th{
  background:#e6ecf5 !important;
  color:#334155 !important;
  font-weight:800 !important;
  border-bottom:1px solid #d3dcea !important;
}
.table thead tr,
.tier-table thead tr{background:#e6ecf5 !important;}
.table-wrap .table thead th:last-child{background:#e6ecf5 !important;}
.table tbody tr:hover td{background:#fafcff;}
@media (max-width:900px){
  .table thead th{background:#e6ecf5 !important;}
}

/* ===== v1411 阶梯头像：和预约页同款（照片 / 彩色姓名圆） ===== */
.tier-av{
  width:40px !important;height:40px !important;flex:0 0 40px !important;
  border-radius:50% !important;overflow:hidden !important;
  background:transparent !important;box-shadow:0 1px 4px rgba(15,23,42,.12);
}
.tier-av img{width:100% !important;height:100% !important;object-fit:cover !important;border-radius:50% !important;}
.tier-av .av-fallback{
  width:100% !important;height:100% !important;border-radius:50% !important;padding:2px !important;
  display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
  gap:0 !important;
}
.tier-av .av-fallback b{
  font-size:11px !important;line-height:1.12 !important;letter-spacing:0 !important;
  white-space:normal !important;word-break:break-all !important;transform:none !important;
  display:block !important;max-width:100% !important;
}
.tier-av .av-fallback i{
  display:block !important;font-size:8px !important;line-height:1.1 !important;opacity:.95 !important;margin-top:1px !important;
}
@media (max-width:900px){
  .tier-av{width:36px !important;height:36px !important;flex:0 0 36px !important;}
  .tier-av .av-fallback b{font-size:10px !important;}
  .tier-av .av-fallback i{font-size:7.5px !important;}
}

/* ===== v1412 阶梯头像：只放照片或首字，不再重复姓名职位 ===== */
.tier-av .av-fallback{
  background:linear-gradient(135deg,#7c8cf8 0%,#4f46e5 55%,#4338ca 100%) !important;
  color:#fff !important;
}
.tier-av .av-fallback b{
  font-size:15px !important;line-height:1 !important;letter-spacing:0 !important;
  white-space:nowrap !important;transform:none !important;
}
.tier-av .av-fallback i{display:none !important;}
@media (max-width:900px){
  .tier-av .av-fallback b{font-size:14px !important;}
}

/* ===== v1414 PK 头像与 VS 放大 ===== */
.pk-face img{width:100% !important;height:100% !important;object-fit:cover !important;border-radius:50% !important;display:block !important;}
.pk-side.gold .pk-face{box-shadow:0 0 0 2px rgba(255,150,150,.6),0 0 18px rgba(255,45,138,.75) !important;}
.pk-side.silver .pk-face{box-shadow:0 0 0 2px rgba(147,197,253,.6),0 0 18px rgba(59,130,246,.75) !important;}

.pk-vs{
  font-size:40px !important;
  padding:0 10px !important;
  letter-spacing:-1.5px !important;
}
@media (max-width:640px){
  .pk-vs{font-size:30px !important;padding:0 6px !important;}
}

/* 列表行小头像 */
.pk-li-av{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:50%;overflow:hidden;
  vertical-align:middle;margin-right:7px;background:linear-gradient(135deg,#7c8cf8,#4f46e5);
  flex:0 0 26px;
}
.pk-li-av img{width:100%;height:100%;object-fit:cover;display:block;}
.pk-li-av i{font-style:normal;color:#fff;font-size:12px;font-weight:800;line-height:1;}

/* ===== v1415 PK：头像与名字不再重叠 ===== */
.pk-side{gap:7px !important;padding-bottom:4px !important;}
.pk-face{position:relative !important;z-index:2 !important;margin-bottom:0 !important;}
.pk-name{position:relative !important;z-index:3 !important;margin-top:0 !important;line-height:1.25 !important;}
.pk-val{position:relative !important;z-index:3 !important;}
.pk-glow{top:-4px !important;}

/* ===== v1416 PK 头像强制正圆、名字独立成行 ===== */
.pk-arena .pk-face{
  width:48px !important;height:48px !important;
  min-width:48px !important;min-height:48px !important;
  max-width:48px !important;max-height:48px !important;
  flex:0 0 48px !important;
  aspect-ratio:1 / 1 !important;
  border-radius:50% !important;
  overflow:hidden !important;
  display:block !important;
  padding:0 !important;
  position:relative !important;
  z-index:2 !important;
}
.pk-arena .pk-face img{
  width:100% !important;height:100% !important;
  max-width:none !important;max-height:none !important;
  min-width:0 !important;min-height:0 !important;
  object-fit:cover !important;object-position:center !important;
  border-radius:50% !important;display:block !important;
}
.pk-arena .pk-side{
  display:flex !important;flex-direction:column !important;align-items:center !important;
  gap:5px !important;
}
.pk-arena .pk-name{
  position:static !important;
  font-size:11px !important;line-height:1.2 !important;
  white-space:nowrap !important;
  margin:0 !important;
}
.pk-arena .pk-val{font-size:13px !important;line-height:1.2 !important;}
@media (max-width:640px){
  .pk-arena .pk-face{width:42px !important;height:42px !important;flex:0 0 42px !important;min-width:42px !important;max-width:42px !important;}
}

/* ===== v1417 KPI 目标：未设提醒条 + 复制上月 ===== */
.kpi-warn{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  margin-bottom:12px;padding:11px 14px;border-radius:12px;
  background:#fff7ed;border:1px solid #fed7aa;
}
.kpi-warn b{font-size:13.5px;color:#c2410c;white-space:nowrap;}
.kpi-warn span{flex:1 1 260px;font-size:12.5px;color:#9a3412;line-height:1.5;}
.kpi-warn.ok{background:#f0fdf4;border-color:#bbf7d0;}
.kpi-warn.ok b{color:#15803d;}
.kpi-warn.ok span{color:#166534;}
.kpi-warn .btn{flex:none;}
@media (max-width:900px){
  .kpi-warn{padding:10px 12px;gap:8px;}
  .kpi-warn b{font-size:12.5px;}
  .kpi-warn span{font-size:11.5px;flex:1 1 100%;order:2;}
  .kpi-warn .btn{order:1;margin-left:auto;}
}

/* ===== v1419 PK：提前结束按钮 ===== */
.pk-end{
  flex:none;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);
  color:#fff;border-radius:999px;padding:4px 11px;font-size:10.5px;font-weight:700;
  cursor:pointer;white-space:nowrap;transition:all .15s;margin-left:8px;
}
.pk-end:hover{background:rgba(255,255,255,.24);border-color:#fff;}
.pk-end:active{transform:scale(.97);}
@media (max-width:640px){
  .pk-end{padding:3px 9px;font-size:9.5px;margin-left:0;order:4;width:100%;}
}

/* ===== v1421 发放情况：数字紧跟文字，横排紧凑 ===== */
.pl-pay-line{
  display:flex !important;align-items:baseline !important;
  justify-content:flex-start !important;
  gap:7px !important;flex-wrap:wrap !important;
  padding:6px 0 !important;
}
.pl-pay-line > span{flex:0 0 auto !important;color:#334155 !important;}
.pl-pay-line > b{flex:0 0 auto !important;margin-left:0 !important;font-variant-numeric:tabular-nums !important;}
/* 明细卡片整体：多行并排显示，减少纵向空白 */
.pd-pane .card-pad .pl-pay-line{width:100%;}
@media (min-width: 900px){
  .pd-pane .card-pad:has(.pl-pay-line){
    display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:2px 22px !important;align-items:baseline !important;
  }
  .pd-pane .card-pad:has(.pl-pay-line) .card-title{grid-column:1 / -1 !important;}
  .pd-pane .card-pad:has(.pl-pay-line) .m-tip{grid-column:1 / -1 !important;}
}
@media (max-width: 900px){
  .pl-pay-line{padding:5px 0 !important;}
}

/* ===== v1422 工资明细「提成阶梯」简化为色卡 ===== */
.pl-tier-chips{
  display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;margin:10px 0 8px !important;
}
.pl-chip{
  position:relative;border-radius:10px !important;padding:9px 12px !important;
  display:flex !important;align-items:baseline !important;justify-content:space-between !important;gap:6px !important;
  border:1.5px solid transparent !important;min-width:0 !important;
}
.pl-chip span{font-size:11.5px !important;font-weight:700 !important;white-space:nowrap !important;}
.pl-chip b{font-size:17px !important;font-weight:800 !important;font-variant-numeric:tabular-nums !important;}
/* 四档配色：未达成灰 / 90 蓝 / 100 绿 / 120 金 */
.pl-chip.g0{background:#f1f5f9 !important;border-color:#e2e8f0 !important;}
.pl-chip.g0 span{color:#64748b !important;} .pl-chip.g0 b{color:#475569 !important;}
.pl-chip.g1{background:#eef4ff !important;border-color:#dbe6ff !important;}
.pl-chip.g1 span{color:#3b6fd4 !important;} .pl-chip.g1 b{color:#1d4ed8 !important;}
.pl-chip.g2{background:#eafaf1 !important;border-color:#cceedd !important;}
.pl-chip.g2 span{color:#0f8a5f !important;} .pl-chip.g2 b{color:#047857 !important;}
.pl-chip.g3{background:#fff7e6 !important;border-color:#fbe3b3 !important;}
.pl-chip.g3 span{color:#b45309 !important;} .pl-chip.g3 b{color:#92400e !important;}
/* 当前档：加粗描边 + 阴影 */
.pl-chip.on{
  border-color:#D6006E !important;
  box-shadow:0 4px 14px -6px rgba(214,0,110,.45) !important;
  transform:none !important;
}
.pl-chip-cur{
  position:absolute;top:-8px;right:8px;font-style:normal;
  font-size:9.5px;font-weight:800;color:#fff;background:#D6006E;
  border-radius:999px;padding:1.5px 7px;line-height:1.4;
  box-shadow:0 2px 6px rgba(214,0,110,.35);
}
@media (max-width:900px){
  .pl-tier-chips{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:7px !important;}
  .pl-chip{padding:8px 10px !important;}
  .pl-chip span{font-size:11px !important;}
  .pl-chip b{font-size:15px !important;}
}

/* ===== v1423 提成阶梯：只留色卡，深色一行 ===== */
.pl-ladder{padding:0 !important;background:transparent !important;border:0 !important;box-shadow:none !important;margin:8px 0 !important;}
.pl-ladder-mini{
  display:flex !important;align-items:center !important;gap:12px !important;flex-wrap:nowrap !important;
  background:linear-gradient(120deg,#1e293b 0%,#243447 60%,#1b2735 100%) !important;
  border-radius:11px !important;padding:9px 14px !important;
  box-shadow:0 6px 18px -10px rgba(15,23,42,.55) !important;
}
.pl-ladder-mini .pl-ladder-title{
  display:flex !important;align-items:center !important;gap:7px !important;
  color:#fff !important;font-size:13px !important;font-weight:800 !important;white-space:nowrap !important;flex:0 0 auto !important;
}
.pl-ladder-mini .pl-ladder-title span{
  font-size:10.5px !important;font-weight:600 !important;color:#94a3b8 !important;
}
.pl-tier-chips{
  display:flex !important;gap:7px !important;flex:1 1 auto !important;justify-content:flex-end !important;
  margin:0 !important;
}
.pl-tier-chips .pl-chip{
  display:flex !important;align-items:baseline !important;gap:5px !important;
  padding:4px 10px !important;border-radius:8px !important;
  background:rgba(255,255,255,.08) !important;border:1px solid rgba(255,255,255,.14) !important;
  min-width:0 !important;
}
.pl-tier-chips .pl-chip span{font-size:10.5px !important;color:#cbd5e1 !important;font-weight:600 !important;white-space:nowrap !important;}
.pl-tier-chips .pl-chip b{font-size:13px !important;color:#fff !important;font-weight:800 !important;}
.pl-tier-chips .pl-chip.on{
  background:linear-gradient(135deg,#D6006E,#8A0047) !important;
  border-color:#FF6FB0 !important;
  box-shadow:0 0 0 1px rgba(255,111,176,.35),0 6px 14px -8px rgba(214,0,110,.8) !important;
}
.pl-tier-chips .pl-chip.on span{color:#FFE8F2 !important;}
.pl-tier-chips .pl-chip.on b{color:#fff !important;}
@media (max-width: 900px){
  .pl-ladder-mini{flex-wrap:wrap !important;gap:8px !important;padding:9px 11px !important;}
  .pl-tier-chips{justify-content:flex-start !important;flex-wrap:wrap !important;gap:6px !important;}
  .pl-tier-chips .pl-chip{padding:3px 8px !important;}
  .pl-tier-chips .pl-chip b{font-size:12px !important;}
}

/* ===== v1424 提成阶梯深色条内的三项数值 ===== */
.pl-kpi-inline{
  display:flex !important;align-items:center !important;gap:16px !important;
  flex:0 0 auto !important;margin:0 4px !important;
}
.pl-kpi-inline > div{display:flex !important;flex-direction:column !important;gap:1px !important;line-height:1.15 !important;}
.pl-kpi-inline span{font-size:9.5px !important;color:#94a3b8 !important;font-weight:600 !important;white-space:nowrap !important;}
.pl-kpi-inline b{font-size:14px !important;color:#e2e8f0 !important;font-weight:800 !important;font-variant-numeric:tabular-nums !important;white-space:nowrap !important;}
.pl-kpi-inline b.ok{color:#34d399 !important;}
.pl-kpi-inline b.warn{color:#fbbf24 !important;}
.pl-kpi-inline b.bad{color:#FF6FB0 !important;}
@media (max-width: 1100px){
  .pl-kpi-inline{gap:12px !important;}
  .pl-kpi-inline b{font-size:13px !important;}
}
@media (max-width: 900px){
  .pl-ladder-mini{flex-wrap:wrap !important;}
  .pl-kpi-inline{order:3 !important;width:100% !important;justify-content:space-between !important;gap:8px !important;margin:2px 0 0 !important;}
  .pl-kpi-inline span{font-size:9px !important;}
  .pl-kpi-inline b{font-size:12.5px !important;}
}

/* ===== v1425 工资明细：格子可点击 + 明细弹窗 ===== */
.pl-cell.pl-click{cursor:pointer;position:relative;transition:background .15s ease;}
.pl-cell.pl-click:hover{background:#f8fafc !important;}
.pl-cell.pl-click:active{background:#eef2f7 !important;}
.pl-tap{
  font-style:normal;font-size:9px;font-weight:700;color:#94a3b8;
  border:1px solid #e2e8f0;border-radius:999px;padding:0 5px;margin-left:4px;
  vertical-align:1px;background:#fff;
}
.pl-cell.pl-click:hover .pl-tap{color:#8A0047;border-color:#fecaca;background:#fef2f2;}

.pv-box{display:flex;flex-direction:column;gap:2px;}
.pv-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 2px;border-bottom:1px dashed #eef2f7;}
.pv-row:last-of-type{border-bottom:none;}
.pv-l{display:flex;flex-direction:column;gap:2px;min-width:0;}
.pv-l b{font-size:13px;color:#0f172a;font-weight:700;}
.pv-l span{font-size:11px;color:#94a3b8;}
.pv-r{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;}
.pv-r.pos{color:#0f766e;}
.pv-r.neg{color:#D6006E;}
.pv-sum{display:flex;justify-content:flex-end;gap:8px;align-items:baseline;margin-top:8px;padding-top:10px;border-top:1px solid #e8edf4;font-size:12px;color:#64748b;}
.pv-sum b{font-size:16px;color:#0f172a;font-weight:800;}
.pv-empty{padding:22px 0;text-align:center;font-size:12.5px;color:#94a3b8;}

/* ===== v1426 页面内筛选标题栏统一深色 ===== */
.ex-toolbar,
.filter-bar{
  background:linear-gradient(120deg,#1e293b 0%,#243447 62%,#1b2735 100%) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  box-shadow:0 8px 22px -14px rgba(15,23,42,.6) !important;
  color:#e2e8f0 !important;
  gap:8px !important;
}
.ex-toolbar .ex-tilde,
.filter-bar .rp-tilde,
.filter-bar .ex-tilde{color:#94a3b8 !important;}

/* 深色栏里的分段按钮 */
.ex-toolbar .ex-seg,
.filter-bar .ex-seg{background:rgba(255,255,255,.08) !important;border-radius:9px !important;padding:3px !important;}
.ex-toolbar .ex-seg button,
.filter-bar .ex-seg button{
  background:transparent !important;border:0 !important;color:#cbd5e1 !important;
  font-weight:700 !important;border-radius:7px !important;padding:6px 12px !important;font-size:12.5px !important;
}
.ex-toolbar .ex-seg button.on,
.ex-toolbar .ex-seg button:hover,
.filter-bar .ex-seg button.on,
.filter-bar .ex-seg button:hover{background:#fff !important;color:#0f172a !important;}

/* 深色栏里的输入框：白底保证可读 */
.ex-toolbar .input,
.filter-bar .input,
.ex-toolbar .select,
.filter-bar .select{
  background:#fff !important;border-color:rgba(255,255,255,.16) !important;color:#0f172a !important;
  height:36px !important;
}
.ex-toolbar .input::placeholder,
.filter-bar .input::placeholder{color:#94a3b8 !important;}

/* 合计文字在深色底上 */
.ex-toolbar .ex-sum,
.filter-bar .ex-sum{color:#e2e8f0 !important;font-weight:700 !important;}

@media (max-width: 900px){
  .ex-toolbar,.filter-bar{padding:9px 10px !important;border-radius:11px !important;}
  .ex-toolbar .ex-seg button,.filter-bar .ex-seg button{padding:5px 9px !important;font-size:11.5px !important;}
}

/* ===== v1427 筛选标题栏：浅灰蓝（比纯白深一档，不再用深色） ===== */
.ex-toolbar,
.filter-bar{
  background:linear-gradient(180deg,#e9eef7 0%,#e2e9f4 100%) !important;
  border:1px solid #d6e0ee !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 2px 8px -6px rgba(15,23,42,.18) !important;
  color:#334155 !important;
}
.ex-toolbar .ex-tilde,
.filter-bar .rp-tilde,
.filter-bar .ex-tilde{color:#64748b !important;}

.ex-toolbar .ex-seg,
.filter-bar .ex-seg{background:#fff !important;border:1px solid #dbe4f0 !important;border-radius:9px !important;padding:3px !important;}
.ex-toolbar .ex-seg button,
.filter-bar .ex-seg button{
  background:transparent !important;border:0 !important;color:#64748b !important;
  font-weight:700 !important;border-radius:7px !important;padding:6px 12px !important;font-size:12.5px !important;
}
.ex-toolbar .ex-seg button.on,
.filter-bar .ex-seg button.on{
  background:linear-gradient(135deg,#1e293b,#334155) !important;color:#fff !important;
  box-shadow:0 3px 8px -4px rgba(15,23,42,.5) !important;
}
.ex-toolbar .ex-seg button:hover:not(.on),
.filter-bar .ex-seg button:hover:not(.on){background:#eef2f9 !important;color:#334155 !important;}

.ex-toolbar .input,
.filter-bar .input,
.ex-toolbar .select,
.filter-bar .select{
  background:#fff !important;border-color:#d6e0ee !important;color:#0f172a !important;height:36px !important;
}
.ex-toolbar .ex-sum,
.filter-bar .ex-sum{color:#0f172a !important;font-weight:800 !important;}
@media (max-width: 900px){
  .ex-toolbar,.filter-bar{padding:9px 10px !important;}
}

/* ===== v1428 预约弹窗：日期/时间用原生选择器 ===== */
.ap-when-row{display:grid !important;grid-template-columns:1fr 150px !important;gap:8px !important;}
.ap-when-row .input{height:40px !important;font-size:14px !important;}
input[type="date"].ap-date,
input[type="time"].ap-clock{
  font-variant-numeric:tabular-nums;
  color:#0f172a;
  background:#fff;
  cursor:pointer;
}
input[type="date"].ap-date::-webkit-calendar-picker-indicator,
input[type="time"].ap-clock::-webkit-calendar-picker-indicator{
  cursor:pointer;opacity:.65;transition:opacity .15s;
}
input[type="date"].ap-date:hover::-webkit-calendar-picker-indicator,
input[type="time"].ap-clock:hover::-webkit-calendar-picker-indicator{opacity:1;}
@media (max-width: 900px){
  .ap-when-row{grid-template-columns:1fr 112px !important;}
  .ap-when-row .input{height:44px !important;font-size:15px !important;}
}

/* ===== v1429 员工考核头部：手机端合并成一行 ===== */
.kpi-top{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap;}
.kpi-top .page-title{flex:0 0 auto;margin:0;}
.kpi-top .kpi-month{max-width:150px;height:38px;}
.kpi-top .kpi-refresh{flex:none;height:34px;padding:0 12px;}
.kpi-top .kpi-tabs{
  flex:1 1 auto;display:flex;gap:2px;margin:0 !important;
  background:#e6ecf5;border-radius:10px;padding:3px;
}
.kpi-top .kpi-tabs .pd-tab{flex:1 1 0;text-align:center;}

@media (max-width: 900px){
  .kpi-top.kpi-top-m{
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    grid-template-areas:"title month refresh" "tabs tabs tabs" !important;
    gap:7px 8px !important;margin-bottom:10px !important;
  }
  .kpi-top.kpi-top-m .page-title{grid-area:title;font-size:19px !important;}
  .kpi-top.kpi-top-m .kpi-month{
    grid-area:month;max-width:none !important;width:100% !important;height:34px !important;
    font-size:13.5px !important;padding:0 8px !important;
  }
  .kpi-top.kpi-top-m .kpi-refresh{
    grid-area:refresh;height:34px !important;padding:0 10px !important;font-size:12.5px !important;
  }
  .kpi-top.kpi-top-m .kpi-tabs{
    grid-area:tabs;background:#dfe7f3 !important;padding:3px !important;border-radius:9px !important;
  }
  .kpi-top.kpi-top-m .kpi-tabs .pd-tab{
    padding:7px 0 !important;font-size:12.5px !important;border-radius:7px !important;
  }
  .kpi-top.kpi-top-m .kpi-tabs .pd-tab.on{background:#1e293b !important;color:#fff !important;}
  .kpi-top.kpi-top-m .pd-tab-ink{display:none !important;}
}

/* ===== v1430 预约看板：已完成区 ===== */
.ag-hour.done span{color:#94a3b8 !important;}
.ag-hour.done i{background:linear-gradient(90deg,#e2e8f0,transparent) !important;}
.ag-hour.done{margin-top:14px !important;padding-top:10px !important;border-top:1px dashed #e8edf4 !important;}

/* ===== v1435 手机端 KPI 数字不溢出 ===== */
@media (max-width: 900px){
  .kpi .kpi-value,
  .kpi-value{
    font-size:clamp(15px, 6.1vw, 26px) !important;
    line-height:1.12 !important;
    letter-spacing:-.4px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    max-width:100% !important;
  }
  .kpi .kpi-value small,
  .kpi-value small{font-size:.5em !important;margin-left:2px !important;}
  .kpi .kpi-label,
  .kpi-label{font-size:12px !important;}
  .kpi .kpi-foot,
  .kpi-foot{font-size:11px !important;line-height:1.35 !important;}
  /* 数字特别长时再收一档（≥9 位） */
  .kpi-value.xl-num{font-size:clamp(13px, 5.2vw, 22px) !important;}
  .stat-card .value{font-size:clamp(15px, 6.1vw, 24px) !important;white-space:nowrap !important;}
}

/* ===== v1440 扫码打卡 UI ===== */
.ckqr-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;padding:6px 0 2px;}
.ckqr-store{font-size:13px;color:#64748b;font-weight:600;}
.ckqr-box{
  width:236px;height:236px;display:grid;place-items:center;
  background:#fff;border-radius:14px;border:1px solid #e6ecf5;
  box-shadow:0 8px 24px -14px rgba(15,23,42,.4);padding:10px;
}
.ckqr-box canvas,.ckqr-box img{display:block;border-radius:6px;}
.ckqr-loading{font-size:12.5px;color:#94a3b8;}
.ckqr-tip{font-size:12px;color:#94a3b8;text-align:center;line-height:1.6;}
.ckqr-url{font-size:10.5px;color:#cbd5e1;word-break:break-all;text-align:center;}

.qsv-wrap{
  position:relative;width:100%;aspect-ratio:1/1;max-height:52vh;
  background:#0f172a;border-radius:14px;overflow:hidden;
}
.qsv-wrap video{width:100%;height:100%;object-fit:cover;display:block;}
.qsv-frame{
  position:absolute;inset:16%;border:2.5px solid rgba(255,255,255,.85);border-radius:14px;
  box-shadow:0 0 0 9999px rgba(15,23,42,.35);
  pointer-events:none;
}
.qsv-frame::after{
  content:'';position:absolute;left:6%;right:6%;top:50%;height:2px;
  background:linear-gradient(90deg,transparent,#FF2D8A,transparent);
  animation:qsvline 2.2s ease-in-out infinite;
}
@keyframes qsvline{0%{top:12%}50%{top:88%}100%{top:12%}}
.qsv-msg{margin-top:10px;text-align:center;font-size:13px;font-weight:600;color:#0f172a;}
.qsv-tip{margin-top:6px;text-align:center;font-size:11.5px;color:#94a3b8;line-height:1.6;}
@media (max-width: 900px){
  .qsv-wrap{max-height:58vh;}
  .qsv-msg{font-size:13.5px;}
}

/* ===== v1441 排班考勤：概览 + 一键扫码 ===== */
.sk-sum{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  margin-bottom:10px;
}
.sk-sum.desk{margin:0 0 12px;}
.sk-sum-item{
  background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;
  padding:10px 6px;text-align:center;
}
.sk-sum-item b{display:block;font-size:20px;font-weight:800;color:#0f172a;line-height:1.1;font-variant-numeric:tabular-nums;}
.sk-sum-item span{display:block;margin-top:3px;font-size:11px;color:#94a3b8;font-weight:600;}
.sk-sum-item.warn{background:#fff7ed;border-color:#fed7aa;}
.sk-sum-item.warn b{color:#c2410c;}
.sk-sum-item.danger{background:#fef2f2;border-color:#fecaca;}
.sk-sum-item.danger b{color:#8A0047;}

.sk-quick{display:grid;grid-template-columns:1fr 96px;gap:8px;margin-bottom:10px;}
.sk-quick-main,.sk-quick-side{
  height:52px;border:0;border-radius:13px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:15px;font-weight:800;letter-spacing:.3px;
  transition:transform .12s ease,box-shadow .12s ease;
}
.sk-quick-main{
  background:linear-gradient(135deg,#D6006E,#8A0047);color:#fff;
  box-shadow:0 10px 22px -12px rgba(214,0,110,.75);
}
.sk-quick-main span{font-size:19px;}
.sk-quick-main:active{transform:scale(.98);}
.sk-quick-side{
  background:#fff;color:#334155;border:1px solid #e2e8f0;font-size:13px;
  box-shadow:0 2px 8px -6px rgba(15,23,42,.3);
}
.sk-quick-side span{font-size:16px;}
@media (max-width: 900px){
  .sk-sum-item b{font-size:19px;}
  .sk-sum-item span{font-size:10.5px;}
  .sk-quick-main{height:54px;font-size:15.5px;}
}

/* ===== v1442 打卡结果卡片 / 打卡方式单选 ===== */
.ck-res{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px 6px;text-align:center;}
.ck-res-ico{
  width:56px;height:56px;border-radius:50%;display:grid;place-items:center;
  font-size:26px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,#34d399,#0f766e);
  box-shadow:0 10px 22px -12px rgba(15,118,110,.75);
}
.ck-res.late .ck-res-ico{background:linear-gradient(135deg,#fbbf24,#b45309);box-shadow:0 10px 22px -12px rgba(180,83,9,.75);}
.ck-res-name{font-size:19px;font-weight:800;color:#0f172a;margin-top:4px;}
.ck-res-time{font-size:13px;color:#64748b;font-weight:600;}
.ck-res-badge{
  margin-top:6px;font-size:13px;font-weight:800;color:#c2410c;
  background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;padding:4px 12px;
}
.ck-res-badge.ok{color:#0f766e;background:#ecfdf5;border-color:#a7f3d0;}
.ck-res-tip{font-size:11.5px;color:#94a3b8;line-height:1.5;}

.ck-mode{display:flex;flex-direction:column;gap:8px;}
.ck-mode-opt{
  display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;
  cursor:pointer;font-size:13px;color:#334155;line-height:1.45;background:#fff;
}
.ck-mode-opt input{accent-color:#D6006E;flex:none;}
.ck-mode-opt:has(input:checked){border-color:#D6006E;background:#FFF0F6;color:#8A0047;font-weight:600;}

/* ===== v1445 考勤「奖励与处罚」设置区块 ===== */
.ck-sec{
  margin:12px 0 8px;font-size:13px;font-weight:800;color:#0f172a;
  display:flex;align-items:center;gap:7px;
}
.ck-sec::before{content:'';width:3px;height:13px;border-radius:2px;background:linear-gradient(180deg,#D6006E,#8A0047);}

/* ===== v1447 打卡方式固定为扫码 ===== */
.ck-mode-fixed{
  display:flex;flex-direction:column;gap:2px;
  padding:10px 12px;border:1px solid #FFD3E6;border-radius:10px;background:#FFF0F6;
}
.ck-mode-fixed b{font-size:13.5px;color:#8A0047;font-weight:800;}
.ck-mode-fixed span{font-size:11.5px;color:#B3005C;opacity:.85;line-height:1.5;}

/* ===== v1450 局域网一键打卡 ===== */
.sk-quick.one{grid-template-columns:1fr !important;}
.sk-quick-main{font-size:16.5px !important;height:56px !important;}
.sk-quick-main span{font-size:20px !important;}
.desk-clock-bar{display:flex;align-items:center;gap:10px;margin:0 0 12px;}
.desk-clock-bar .btn{height:40px;}

/* ===== v1451 考勤页：打卡墙 ===== */
.aw-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px;}
.aw-stat{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:10px 6px;text-align:center;}
.aw-stat b{display:block;font-size:20px;font-weight:800;color:#0f172a;line-height:1.1;}
.aw-stat span{display:block;margin-top:3px;font-size:11px;color:#94a3b8;font-weight:600;}
.aw-stat.on{background:linear-gradient(135deg,#0d9488,#115e59);border-color:transparent;}
.aw-stat.on b,.aw-stat.on span{color:#fff;}
.aw-stat.warn{background:#fff7ed;border-color:#fed7aa;}
.aw-stat.warn b{color:#c2410c;}
.aw-stat.danger{background:#fef2f2;border-color:#fecaca;}
.aw-stat.danger b{color:#8A0047;}

.aw-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px;}
.aw-sq{
  background:#fff;border:1px solid #e6ecf5;border-radius:12px;padding:8px 4px;text-align:center;
  position:relative;box-shadow:0 2px 8px -6px rgba(15,23,42,.25);
  animation:awJump .28s cubic-bezier(.34,1.56,.64,1);
}
@keyframes awJump{from{transform:translateY(10px);opacity:.4}to{transform:none;opacity:1}}
.aw-sq .aw-av{display:block;width:44px;height:44px;margin:0 auto 6px;border-radius:50%;overflow:hidden;
  display:grid;place-items:center;background:#eef2f7;}
.aw-sq .aw-av img,.aw-sq .aw-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.aw-sq b{display:block;font-size:11.5px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.aw-sq .aw-t{display:block;margin-top:2px;font-size:10.5px;color:#0d9488;font-weight:700;}
.aw-sq.late{border-color:#fed7aa;background:#fffdf8;}
.aw-sq.late .aw-t{color:#c2410c;}
.aw-late{display:inline-block;margin-top:3px;font-style:normal;font-size:9.5px;color:#b45309;background:#fef3c7;border-radius:999px;padding:1px 6px;}

.aw-sub{font-size:12px;color:#94a3b8;margin:6px 0 8px;font-weight:600;}
.aw-row{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;}
.aw-ghost{text-align:center;opacity:.45;}
.aw-ghost .aw-av{display:block;width:38px;height:38px;margin:0 auto 5px;border-radius:50%;overflow:hidden;background:#e2e8f0;
  filter:grayscale(1);display:grid;place-items:center;}
.aw-ghost .aw-av img,.aw-ghost .aw-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;filter:grayscale(1);}
.aw-ghost b{display:block;font-size:10.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.aw-ghost .aw-t{display:block;font-size:9.5px;color:#94a3b8;}
.aw-empty{padding:26px 0;text-align:center;font-size:12.5px;color:#94a3b8;grid-column:1/-1;}

/* 减免弹窗 */
.wv-form{display:flex;flex-direction:column;gap:10px;}
.wv-tip{font-size:11.5px;color:#94a3b8;line-height:1.5;margin:0;}
.wv-logs-hd{margin:14px 0 6px;font-size:12.5px;font-weight:800;color:#334155;}
.wv-logs{max-height:180px;overflow-y:auto;}
.wv-log{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px dashed #eef2f7;font-size:12px;color:#475569;}
.wv-log b{flex:0 0 92px;color:#0f172a;font-weight:700;}
.wv-log span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wv-log i{font-style:normal;color:#94a3b8;}
.wv-empty{padding:16px 0;text-align:center;font-size:12px;color:#94a3b8;}

@media (max-width: 900px){
  .aw-grid{grid-template-columns:repeat(3,1fr);}
  .aw-row{grid-template-columns:repeat(4,1fr);}
  .aw-stat b{font-size:19px;}
}

/* ===== v1454 考勤墙：底部彩卡「上班中」 ===== */
.aw-foot{
  margin-top:14px;border-radius:16px;padding:14px 16px;
  background:linear-gradient(135deg,#0d9488,#115e59);
  box-shadow:0 12px 26px -14px rgba(13,148,136,.75);
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.aw-foot-main{display:flex;align-items:baseline;gap:8px;color:#fff;}
.aw-foot-main b{font-size:30px;font-weight:800;line-height:1;}
.aw-foot-main span{font-size:13px;font-weight:700;opacity:.92;}
.aw-foot-side{font-size:11.5px;color:rgba(255,255,255,.85);}
.aw-foot-side i{font-style:normal;font-weight:800;color:#fff;}
.aw-none{grid-column:1/-1;text-align:center;font-size:12.5px;color:#94a3b8;padding:8px 0;}
@media (max-width: 900px){
  .aw-foot{margin-top:16px;}
  .aw-foot-main b{font-size:32px;}
}

/* ===== v1457 电脑端考勤墙 ===== */
.aw-grid.desk{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;}
.aw-grid.desk .aw-sq{padding:12px 8px;border-radius:14px;}
.aw-grid.desk .aw-sq .aw-av{width:56px;height:56px;}
.aw-grid.desk .aw-sq b{font-size:13.5px;}
.aw-grid.desk .aw-sq .aw-t{font-size:12px;}
.aw-ok{display:inline-block;margin-top:3px;font-style:normal;font-size:9.5px;color:#0f766e;background:#ecfdf5;border-radius:999px;padding:1px 6px;}
.aw-acts{display:flex;gap:4px;justify-content:center;margin-top:6px;}
.aw-btn{
  border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:6px;
  font-size:10.5px;padding:2px 7px;cursor:pointer;font-weight:600;
}
.aw-btn:hover{border-color:#fca5a5;color:#8A0047;background:#fef2f2;}
.aw-row.desk{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;}
.aw-row.desk .aw-ghost .aw-av{width:48px;height:48px;}
.aw-sub{margin:16px 0 8px;}

/* ===== v1458 上班/下班两个打卡按钮 ===== */
.sk-quick.two{grid-template-columns:1fr 1fr !important;gap:10px !important;}
.sk-quick-in,.sk-quick-out{
  height:56px;border:0;border-radius:14px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:16px;font-weight:800;letter-spacing:.3px;color:#fff;
  transition:transform .12s ease,box-shadow .12s ease,opacity .15s;
}
.sk-quick-in{background:linear-gradient(135deg,#D6006E,#8A0047);box-shadow:0 10px 22px -12px rgba(214,0,110,.8);}
.sk-quick-out{background:linear-gradient(135deg,#0ea5e9,#0369a1);box-shadow:0 10px 22px -12px rgba(14,165,233,.8);}
.sk-quick-in span,.sk-quick-out span{font-size:19px;}
.sk-quick-in:active,.sk-quick-out:active{transform:scale(.98);}
.sk-quick-in:disabled,.sk-quick-out:disabled{opacity:.45;box-shadow:none;cursor:not-allowed;}
@media (max-width: 900px){
  .sk-quick-in,.sk-quick-out{height:58px;font-size:16.5px;}
}

/* ===== v1460 打卡记录：员工头像 + 月历 ===== */
.rc-pick-tip{font-size:12.5px;color:#94a3b8;margin:0 0 10px;}
.rc-staff{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 12px;-webkit-overflow-scrolling:touch;}
.rc-sf{flex:none;width:66px;text-align:center;cursor:pointer;border-radius:12px;padding:6px 2px;transition:background .15s;}
.rc-sf:hover{background:#f4f7fc;}
.rc-sf.on{background:#eef4ff;}
.rc-av{display:block;width:52px;height:52px;margin:0 auto 5px;border-radius:50%;overflow:hidden;background:#eef2f7;}
.rc-av img,.rc-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.rc-sf b{display:block;font-size:11.5px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rc-sf.on b{color:#1d4ed8;font-weight:800;}

.rc-cal-hd{display:flex;align-items:baseline;gap:10px;margin:6px 0 10px;}
.rc-cal-hd b{font-size:15px;color:#0f172a;}
.rc-cal-hd span{font-size:12px;color:#94a3b8;}
.rc-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;}
.rc-w{text-align:center;font-size:11px;color:#94a3b8;font-weight:700;padding:2px 0;}
.rc-cell{
  min-height:62px;border-radius:10px;padding:5px 4px;background:#f8fafc;border:1px solid #eef2f7;
  display:flex;flex-direction:column;gap:2px;position:relative;
}
.rc-cell.blank{background:transparent;border:0;min-height:0;}
.rc-cell b{font-size:11.5px;color:#64748b;font-weight:700;}
.rc-cell.ok{background:#e9fbf1;border-color:#bbf7d0;}
.rc-cell.ok b{color:#0f766e;}
.rc-cell.late{background:#fef2f2;border-color:#fecaca;}
.rc-cell.late b{color:#8A0047;}
.rc-cell.none{opacity:.65;}
.rc-t{font-size:10px;color:#0f766e;font-weight:700;line-height:1.3;}
.rc-cell.late .rc-t{color:#8A0047;}
.rc-t i{font-style:normal;display:block;font-weight:600;opacity:.8;}
.rc-late{
  margin-top:auto;align-self:flex-start;font-size:9px;font-weight:800;color:#fff;
  background:#D6006E;border-radius:999px;padding:1px 5px;
}
@media (max-width: 900px){
  .rc-cell{min-height:56px;padding:4px 3px;}
  .rc-cal{gap:4px;}
  .rc-t{font-size:9px;}
}

/* ===== v1461 打卡日历缩小一半 + 下方统计 ===== */
.rc-cell{min-height:30px !important;padding:2px 3px !important;border-radius:7px !important;gap:0 !important;}
.rc-cell b{font-size:9.5px !important;font-weight:700 !important;line-height:1.15 !important;}
.rc-t{font-size:8px !important;line-height:1.15 !important;}
.rc-late{font-size:7.5px !important;padding:0 4px !important;border-radius:4px !important;margin-top:1px !important;}
.rc-cell.blank{min-height:0 !important;}
.rc-cal{gap:4px !important;}
.rc-w{font-size:10px !important;padding:1px 0 !important;}

.rc-sum{
  display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:14px;
}
.rc-sum-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:9px 4px;text-align:center;}
.rc-sum-item b{display:block;font-size:18px;font-weight:800;color:#0f172a;line-height:1.1;}
.rc-sum-item span{display:block;margin-top:2px;font-size:10.5px;color:#94a3b8;font-weight:600;}
.rc-sum-item.ok{background:#e9fbf1;border-color:#bbf7d0;}
.rc-sum-item.ok b{color:#0f766e;}
.rc-sum-item.late{background:#fef2f2;border-color:#fecaca;}
.rc-sum-item.late b{color:#8A0047;}
.rc-sum-item.danger{background:#fff7ed;border-color:#fed7aa;}
.rc-sum-item.danger b{color:#c2410c;}
@media (max-width: 900px){
  .rc-cell{min-height:34px !important;}
  .rc-sum{grid-template-columns:repeat(3,1fr);}
  .rc-sum-item b{font-size:16px;}
}

/* ===== v1462 打卡日历整体缩小（限宽 + 方形格） ===== */
.rc-cal{
  max-width:520px !important;width:100% !important;
  margin:0 auto !important;gap:4px !important;
}
.rc-cell{
  min-height:0 !important;aspect-ratio:1 / 1 !important;
  display:flex !important;flex-direction:column !important;
  padding:3px 4px !important;border-radius:8px !important;
}
.rc-cell.blank{aspect-ratio:auto !important;}
.rc-w{max-width:520px;}
.rc-sum{max-width:520px !important;margin:14px auto 0 !important;}
.rc-cal-hd{max-width:520px !important;margin:0 auto 8px !important;}
@media (max-width: 900px){
  .rc-cal{max-width:100% !important;}
  .rc-cell{aspect-ratio:1 / 1 !important;}
  .rc-sum{max-width:100% !important;}
}

/* ===== v1463 日历：月份筛选 / 背景加深 / 日期放大 / 上下班前缀 ===== */
.rc-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;flex-wrap:wrap;}
.rc-bar .rc-pick-tip{margin:0;}
.rc-month{max-width:170px !important;height:36px !important;font-size:13px !important;}

.rc-cell{
  background:#e9eef7 !important;
  border:1px solid #d3dcea !important;
}
.rc-cell b{font-size:16px !important;color:#334155 !important;font-weight:800 !important;}
.rc-cell.ok{background:#d9f5e6 !important;border-color:#a7e8c4 !important;}
.rc-cell.late{background:#ffe2e2 !important;border-color:#f8b4b4 !important;}
.rc-cell.late b{color:#8A0047 !important;}
.rc-cell.none{background:#eef2f8 !important;opacity:.85;}
.rc-t{display:flex !important;align-items:baseline !important;gap:3px !important;font-size:9.5px !important;}
.rc-t em{font-style:normal;font-size:8px;color:#64748b;background:rgba(255,255,255,.7);border-radius:3px;padding:0 3px;}
.rc-t.out{color:#0f172a !important;}
.rc-late{margin-top:auto !important;font-size:8.5px !important;}
@media (max-width: 900px){
  .rc-cell b{font-size:15px !important;}
  .rc-month{max-width:none !important;width:100% !important;}
}

/* ===== v1464 排班管理：班次 + 多选员工 + 选中页签底色 ===== */
.filter-bar .btn.btn-active,
.filter-bar .btn-active{
  background:linear-gradient(135deg,#1e293b,#334155) !important;
  color:#fff !important;border-color:transparent !important;
  box-shadow:0 4px 12px -6px rgba(15,23,42,.55) !important;
  font-weight:800 !important;
}
.filter-bar .btn:not(.btn-active):hover{background:#eef2f9 !important;}

.shift-sec{margin-bottom:12px;}
.shift-lb{display:block;font-size:12.5px;font-weight:700;color:#334155;margin-bottom:7px;}
.shift-chips{display:flex;gap:8px;flex-wrap:wrap;}
.shift-chip{
  border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:7px 14px;
  font-size:13px;color:#475569;cursor:pointer;font-weight:600;transition:all .15s;
}
.shift-chip.on{background:linear-gradient(135deg,#D6006E,#8A0047);color:#fff;border-color:transparent;box-shadow:0 4px 12px -6px rgba(214,0,110,.6);}
.shift-chip:hover:not(.on){border-color:#fca5a5;color:#8A0047;}

.shift-staff{display:flex;gap:10px;flex-wrap:wrap;}
.shift-sp{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  border:1.5px solid #e6ecf5;background:#fff;border-radius:12px;padding:8px 10px;cursor:pointer;
  min-width:74px;transition:all .15s;
}
.shift-sp.on{border-color:#D6006E;background:#FFF0F6;box-shadow:0 4px 11px -8px rgba(214,0,110,.8);}
.shift-sp-av{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f7;}
.shift-sp-av img,.shift-sp-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.shift-sp b{font-size:11.5px;color:#334155;font-weight:700;white-space:nowrap;}
.shift-sp.on b{color:#8A0047;}
.shift-tools{display:flex;gap:12px;margin-top:8px;}
.shift-tools .link{background:none;border:0;color:#2563eb;font-size:12px;cursor:pointer;padding:0;}
.shift-tools .link:hover{text-decoration:underline;}

/* ===== v1465 班次标签（员工卡 + 表格） ===== */
.shift-sp-tag{
  font-style:normal;font-size:9.5px;font-weight:800;line-height:1.4;
  border-radius:999px;padding:0 6px;margin-top:1px;display:none;
}
.shift-sp.on .shift-sp-tag{
  display:inline-block;color:#fff;background:linear-gradient(135deg,#D6006E,#8A0047);
}
.shift-tag{
  display:inline-block;font-size:11px;font-weight:800;border-radius:999px;padding:2px 9px;line-height:1.5;
}
.shift-tag.mor{background:#FFF0F6;color:#8A0047;}
.shift-tag.eve{background:#eef2ff;color:#3730a3;}
.shift-tag.all{background:#ecfdf5;color:#0f766e;}
.shift-tag.cus{background:#f1f5f9;color:#475569;}

/* ===== v1466 排班：早班 / 晚班 两排 ===== */
.sb-tip{font-size:12.5px;color:#94a3b8;margin:-2px 0 12px;}
.sb-row{margin-bottom:14px;border-radius:14px;padding:12px 14px;border:1px solid transparent;}
.sb-row.mor{background:linear-gradient(135deg,#fff5f6,#fff);border-color:#fbd5dc;}
.sb-row.eve{background:linear-gradient(135deg,#f4f6ff,#fff);border-color:#dbe2fb;}
.sb-hd{display:flex;align-items:baseline;gap:10px;margin-bottom:10px;}
.sb-hd b{font-size:15px;font-weight:800;}
.sb-row.mor .sb-hd b{color:#8A0047;}
.sb-row.eve .sb-hd b{color:#3730a3;}
.sb-hd span{font-size:12px;color:#94a3b8;font-weight:600;}
.sb-list{display:flex;gap:10px;flex-wrap:wrap;}
.sb-sp{
  display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;
  border:1.5px solid #e6ecf5;background:#fff;border-radius:12px;padding:7px 9px;min-width:70px;
  transition:all .15s;
}
.sb-sp:hover{border-color:#cbd5e1;}
.sb-row.mor .sb-sp.on{border-color:#D6006E;background:#FFF0F6;box-shadow:0 4px 11px -8px rgba(214,0,110,.85);}
.sb-row.eve .sb-sp.on{border-color:#4f46e5;background:#eef2ff;box-shadow:0 4px 11px -8px rgba(79,70,229,.85);}
.sb-av{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f7;}
.sb-av img,.sb-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.sb-sp b{font-size:11.5px;color:#334155;font-weight:700;white-space:nowrap;}
.sb-row.mor .sb-sp.on b{color:#8A0047;}
.sb-row.eve .sb-sp.on b{color:#3730a3;}
.sb-acts{display:flex;justify-content:flex-end;margin-top:6px;}
.sb-acts .btn{min-width:150px;}
@media (max-width: 900px){
  .sb-sp{min-width:62px;padding:6px 7px;}
  .sb-av{width:34px;height:34px;}
  .sb-acts .btn{width:100%;}
}

/* ===== v1467 早晚班固定成员设置 ===== */
.sg-blk{border-radius:12px;padding:12px 14px;margin-bottom:12px;border:1px solid transparent;}
.sg-blk.mor{background:linear-gradient(135deg,#fff5f6,#fff);border-color:#fbd5dc;}
.sg-blk.eve{background:linear-gradient(135deg,#f4f6ff,#fff);border-color:#dbe2fb;}
.sg-hd{font-size:13.5px;font-weight:800;margin-bottom:10px;}
.sg-blk.mor .sg-hd{color:#8A0047;}
.sg-blk.eve .sg-hd{color:#3730a3;}
.sg-list{display:flex;gap:8px;flex-wrap:wrap;}
.sg-sp{
  display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;
  border:1.5px solid #e6ecf5;background:#fff;border-radius:10px;padding:6px 8px;min-width:62px;
  transition:all .15s;
}
.sg-av{width:34px;height:34px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f7;}
.sg-av img,.sg-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.sg-sp b{font-size:11px;color:#334155;font-weight:700;white-space:nowrap;}
.sg-blk.mor .sg-sp.on{border-color:#D6006E;background:#FFF0F6;}
.sg-blk.mor .sg-sp.on b{color:#8A0047;}
.sg-blk.eve .sg-sp.on{border-color:#4f46e5;background:#eef2ff;}
.sg-blk.eve .sg-sp.on b{color:#3730a3;}

/* ===== v1471 员工账号设置页 ===== */
.acc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px dashed #eef2f7;}
.acc-row span{font-size:13px;color:#94a3b8;font-weight:600;}
.acc-row b{font-size:14px;color:#0f172a;font-weight:700;}
.acc-acts{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;}
.acc-acts .btn{min-width:120px;}
@media (max-width: 900px){
  .acc-acts .btn{flex:1 1 auto;}
}

/* ===== v1472 迟到明细：合计 + 修改 ===== */
.late-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px;}
.late-sum-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:12px 10px;text-align:center;}
.late-sum-item b{display:block;font-size:22px;font-weight:800;color:#0f172a;line-height:1.1;font-variant-numeric:tabular-nums;}
.late-sum-item span{display:block;margin-top:3px;font-size:11.5px;color:#94a3b8;font-weight:600;}
.late-sum-item.warn{background:#fff7ed;border-color:#fed7aa;}
.late-sum-item.warn b{color:#c2410c;}
@media (max-width: 900px){
  .late-sum-item b{font-size:19px;}
}

/* ===== v1473 休假设置：每周固定休息日 ===== */
.wd-list{display:flex;flex-direction:column;gap:10px;}
.wd-row{display:flex;align-items:center;gap:14px;padding:10px 12px;border:1px solid #eef2f7;border-radius:12px;background:#fff;flex-wrap:wrap;}
.wd-who{display:flex;align-items:center;gap:10px;min-width:190px;flex:0 0 auto;}
.wd-av{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f7;flex:none;}
.wd-av img,.wd-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.wd-who b{display:block;font-size:13.5px;color:#0f172a;font-weight:700;}
.wd-who em{display:block;font-style:normal;font-size:11px;color:#94a3b8;}
.wd-days{display:flex;gap:6px;flex-wrap:wrap;flex:1 1 auto;}
.wd-chip{
  border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:5px 11px;
  font-size:12px;color:#475569;cursor:pointer;font-weight:600;transition:all .15s;
}
.wd-chip:hover{border-color:#fca5a5;color:#8A0047;}
.wd-chip.on{background:linear-gradient(135deg,#0ea5e9,#0369a1);color:#fff;border-color:transparent;box-shadow:0 4px 10px -6px rgba(14,165,233,.7);}
.wd-act{flex:0 0 auto;}
@media (max-width: 900px){
  .wd-row{gap:10px;padding:10px;}
  .wd-who{min-width:0;width:100%;}
  .wd-act{width:100%;}
  .wd-act .btn{width:100%;}
}

/* ===== v1474 考勤墙：分段 + 未打卡背景 + 间距 ===== */
.aw-sec{border-radius:16px;padding:12px 14px 14px;margin-top:16px;}
.aw-sec:first-child{margin-top:0;}
.aw-sec.miss{background:#f1f5f9;border:1px dashed #cbd5e1;}
.aw-sec.off{background:#f8fafc;border:1px solid #eef2f7;}
.aw-sec-hd{display:flex;align-items:baseline;gap:8px;font-size:13px;font-weight:800;margin-bottom:10px;}
.aw-sec-hd em{font-style:normal;font-size:16px;font-weight:800;}
.aw-sec-hd.on{color:#0f766e;}
.aw-sec-hd.on em{color:#0d9488;}
.aw-sec-hd.off{color:#475569;}
.aw-sec-hd.off em{color:#64748b;}
.aw-sec-hd.miss{color:#94a3b8;}
.aw-sec-hd.miss em{color:#64748b;}
.aw-sec .aw-grid.desk,
.aw-sec .aw-grid{margin-bottom:0;}
.aw-sec .aw-row.desk,
.aw-sec .aw-row{margin-bottom:0;}
@media (max-width: 900px){
  .aw-sec{padding:10px 10px 12px;margin-top:14px;border-radius:14px;}
  .aw-sec-hd{font-size:12.5px;margin-bottom:8px;}
}

/* ===== v1475 排班：早班 / 晚班 / 通班 ===== */
.sb-row.all{background:linear-gradient(135deg,#f1f5f9,#fff);border-color:#e2e8f0;}
.sb-row.all .sb-hd b{color:#334155;}
.sb-row.all .sb-sp.on{border-color:#0f766e;background:#ecfdf5;box-shadow:0 4px 11px -8px rgba(15,118,110,.85);}
.sb-row.all .sb-sp.on b{color:#0f766e;}
.sb-hd em{font-style:normal;font-size:11.5px;color:#94a3b8;font-weight:700;margin-left:auto;}
.sb-empty{font-size:12px;color:#cbd5e1;padding:8px 2px;}

/* ===== v1476 早晚班时间可设置 ===== */
.sg-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.sg-time{
  width:104px !important;height:32px !important;font-size:13px !important;
  padding:0 8px !important;border-radius:9px !important;
}
.sg-blk.mor .sg-time{background:#fff;border-color:#f7c6d0 !important;}
.sg-blk.eve .sg-time{background:#fff;border-color:#c7d2fe !important;}
.sg-hd > span{color:#94a3b8;font-size:12px;}

/* ===== v1477 早晚班：一键调换 + 自动轮换 ===== */
.sg-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px;}
.sg-rot{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#475569;font-weight:600;}
.sg-rot .select{height:32px !important;width:118px !important;font-size:12.5px !important;padding:0 8px !important;}

/* ===== v1479 打卡记录头像修正：不溢出、不重叠 ===== */
.rc-staff{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 12px;align-items:flex-start;}
.rc-sf{
  flex:0 0 68px !important;width:68px !important;max-width:68px !important;
  height:96px;box-sizing:border-box;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  padding:6px 4px;border-radius:12px;
}
.rc-av{
  width:52px !important;height:52px !important;min-width:52px;min-height:52px;
  border-radius:50% !important;overflow:hidden !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  background:#e8eef8 !important;color:#64748b;font-size:17px;font-weight:800;
  line-height:1;flex:none;
}
.rc-av img{width:52px !important;height:52px !important;border-radius:50% !important;object-fit:cover;display:block;}
.rc-av .av-fallback{display:none !important;}
.rc-sf b{
  display:block;width:100%;margin-top:6px;text-align:center;
  font-size:11px;line-height:1.25;max-height:28px;overflow:hidden;
  white-space:normal;word-break:break-all;
}
.rc-sf.on{background:#eef4ff;box-shadow:inset 0 0 0 1.5px #bfdbfe;}
.rc-sf.on b{color:#1d4ed8;font-weight:800;}

/* ===== v1480 考勤卡片：缩小 + 上班/下班/迟到文字 ===== */
.aw-grid.desk{grid-template-columns:repeat(auto-fill,minmax(104px,1fr)) !important;gap:10px !important;}
.aw-grid.desk .aw-sq{padding:8px 5px 7px !important;border-radius:11px !important;}
.aw-grid.desk .aw-sq .aw-av{width:42px !important;height:42px !important;margin-bottom:4px !important;}
.aw-grid.desk .aw-sq b{font-size:12px !important;}
.aw-grid.desk .aw-sq .aw-t{font-size:10px !important;margin-top:1px !important;}
.aw-sq .aw-t em{
  font-style:normal;font-size:9px;color:#94a3b8;font-weight:700;margin-right:3px;
}
.aw-sq.late .aw-t em{color:#b45309;}
.aw-late{font-size:9px !important;padding:1px 5px !important;}
.aw-acts{margin-top:4px !important;gap:3px !important;}
.aw-btn{font-size:9.5px !important;padding:1px 5px !important;}

/* 手机卡片也缩小一点 */
@media (max-width: 900px){
  .aw-grid{grid-template-columns:repeat(4,1fr) !important;gap:7px !important;}
  .aw-sq{padding:7px 4px 6px !important;}
  .aw-sq .aw-av{width:38px !important;height:38px !important;margin-bottom:4px !important;}
  .aw-sq b{font-size:10.5px !important;}
  .aw-sq .aw-t{font-size:9.5px !important;}
  .aw-late{font-size:8.5px !important;}
}

/* ===== v1481 已下班卡片整体变灰 ===== */
.aw-sec.off .aw-sq{
  background:#f4f6fa !important;
  border-color:#e2e8f0 !important;
  filter:grayscale(.55);
  opacity:.9;
}
.aw-sec.off .aw-sq b{color:#64748b !important;}
.aw-sec.off .aw-sq .aw-t{color:#94a3b8 !important;}
.aw-sec.off .aw-sq .aw-t em{color:#b6c2d1 !important;}
.aw-sec.off .aw-sq .aw-late{
  background:#eef2f7 !important;color:#94a3b8 !important;
}
.aw-sec.off .aw-sq .aw-av{opacity:.85;}
.aw-sec.off .aw-btn{color:#94a3b8 !important;border-color:#e6ebf3 !important;background:#fbfcfe !important;}

/* ===== v1482 已下班色卡 + 按钮不再变灰 ===== */
.aw-badge{
  display:inline-block;margin-top:4px;border-radius:999px;
  font-size:9px;font-weight:800;line-height:1.6;padding:1px 8px;letter-spacing:.2px;
}
.aw-badge.off{
  background:linear-gradient(135deg,#64748b,#475569);color:#fff;
  box-shadow:0 3px 9px -6px rgba(71,85,105,.8);
}
.aw-badge.on{
  background:linear-gradient(135deg,#10b981,#047857);color:#fff;
  box-shadow:0 3px 9px -6px rgba(16,185,129,.8);
}
/* 已下班区域：只把卡片主体去色，按钮保持原样 */
.aw-sec.off .aw-sq{filter:none !important;opacity:1 !important;background:#f1f4f9 !important;}
.aw-sec.off .aw-sq .aw-av{filter:grayscale(.5);opacity:.9;}
.aw-sec.off .aw-sq b{color:#64748b !important;}
.aw-sec.off .aw-sq .aw-t,
.aw-sec.off .aw-sq .aw-t em{color:#94a3b8 !important;}
.aw-sec.off .aw-sq .aw-late{background:#e8edf4 !important;color:#8494a8 !important;}
.aw-sec.off .aw-btn{
  color:#8A0047 !important;border-color:#fbd5dc !important;background:#fff !important;
}
.aw-sec.off .aw-btn:hover{border-color:#fca5a5 !important;background:#fff5f6 !important;}

/* ===== v1483 考勤卡：固定行高、底对齐、无多余留白 ===== */
.aw-sq{
  display:flex !important;flex-direction:column !important;align-items:center !important;
  justify-content:flex-start !important;
  min-height:196px;box-sizing:border-box;
}
.aw-sq .aw-av{margin-top:0 !important;}
.aw-sq b{min-height:16px;display:flex;align-items:center;justify-content:center;}
.aw-sq .aw-t{
  min-height:14px;display:flex;align-items:center;justify-content:center;gap:3px;width:100%;
}
.aw-sq .aw-t.empty{opacity:.35;}
.aw-sq .aw-late,.aw-sq .aw-ok{
  min-height:16px;display:inline-flex;align-items:center;justify-content:center;
  margin-top:3px !important;
}
.aw-ok{font-style:normal;font-size:9px;font-weight:800;color:#0f766e;background:#ecfdf5;border-radius:999px;padding:1px 7px;}
.aw-sq .aw-badge{margin-top:4px !important;min-width:52px;text-align:center;}
.aw-sq .aw-acts{margin-top:auto !important;padding-top:6px;width:100%;justify-content:center;}
.aw-sec .aw-grid{align-items:stretch;}
@media (max-width: 900px){
  .aw-sq{min-height:186px;}
}

/* ===== v1484 去掉卡片多余留白（行结构已统一，无需固定高度） ===== */
.aw-sq{min-height:0 !important;height:auto !important;padding:8px 5px 7px !important;gap:0 !important;}
.aw-sq b{min-height:15px !important;}
.aw-sq .aw-t{min-height:13px !important;}
.aw-sq .aw-late,.aw-sq .aw-ok{min-height:15px !important;margin-top:2px !important;}
.aw-sq .aw-badge{margin-top:3px !important;padding:0 7px !important;line-height:1.5 !important;}
.aw-sq .aw-acts{padding-top:5px !important;margin-top:3px !important;}
.aw-sec .aw-grid{align-items:flex-start !important;}
@media (max-width: 900px){
  .aw-sq{min-height:0 !important;padding:7px 4px 6px !important;}
}

/* ===== v1485 迟到文字不换行，卡片等高 ===== */
.aw-sq .aw-late,.aw-sq .aw-ok{
  white-space:nowrap !important;font-size:8.5px !important;
  padding:0 5px !important;line-height:1.55 !important;max-width:100%;overflow:hidden;
}
.aw-sq .aw-t{white-space:nowrap !important;}
.aw-sq b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.aw-grid.desk{grid-template-columns:repeat(auto-fill,minmax(112px,1fr)) !important;}

/* ===== v1486 卡片统一高度（已上班/已下班一样高） ===== */
.aw-grid.desk .aw-sq,
.aw-sq{
  height:178px !important;min-height:178px !important;max-height:178px !important;
  padding:9px 5px 8px !important;box-sizing:border-box !important;
  justify-content:flex-start !important;overflow:hidden;
}
.aw-grid.desk .aw-sq .aw-av,
.aw-sq .aw-av{width:40px !important;height:40px !important;min-width:40px !important;min-height:40px !important;margin:0 auto 5px !important;}
.aw-sq b{font-size:12px !important;line-height:15px !important;height:15px;}
.aw-sq .aw-t{font-size:9.5px !important;line-height:13px !important;height:13px;}
.aw-sq .aw-late,.aw-sq .aw-ok{font-size:8.5px !important;line-height:15px !important;height:15px;}
.aw-sq .aw-badge{font-size:8.5px !important;line-height:16px !important;height:16px;margin-top:3px !important;}
.aw-sq .aw-acts{margin-top:auto !important;padding-top:4px !important;}
.aw-sq .aw-btn{font-size:9px !important;padding:1px 5px !important;line-height:14px !important;}
@media (max-width: 900px){
  .aw-sq{height:172px !important;min-height:172px !important;max-height:172px !important;}
  .aw-sq .aw-av{width:36px !important;height:36px !important;}
}

/* ===== v1487 时间两行固定高，卡片不留白也不裁切 ===== */
.aw-sq .aw-times{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:1px;width:100%;min-height:14px;
}
.aw-sq .aw-times .aw-t{
  display:flex;align-items:center;justify-content:center;gap:3px;
  font-size:9.5px !important;line-height:13px !important;height:13px !important;width:100%;
}
.aw-sq{height:auto !important;min-height:0 !important;max-height:none !important;overflow:visible !important;}
.aw-sq .aw-acts{margin-top:6px !important;}
@media (max-width: 900px){
  .aw-sq{height:auto !important;min-height:0 !important;max-height:none !important;}
}

/* ===== v1494 扣款明细：手工罚款来源逐条 ===== */
.pv-subwrap{margin:-2px 0 8px;padding:0 0 0 12px;border-left:2px solid #f1f5f9;}
.pv-sub{font-size:11.5px;color:#94a3b8;line-height:1.9;}
.pv-sub b{color:#64748b;}

/* ===== v1498 全局收紧：弹窗更小、数字贴近文字 ===== */
.modal-head{padding:13px 16px !important;}
.modal-head h3{font-size:14px !important;letter-spacing:.2px;}
.modal-body{padding:12px 16px !important;font-size:12.5px !important;}
.modal-foot{padding:10px 16px !important;}
.modal-foot .btn{height:34px !important;padding:0 16px !important;font-size:13px !important;}

/* 纯数字/文字类弹窗（没有表格）宽度收窄，数字自然靠近文字 */
.modal:not(:has(.table-wrap)):not(:has(.pl-kpi-inline)){
  max-width:min(86vw, 430px) !important;
}

/* 明细行：更紧凑 */
.pv-box{gap:0 !important;}
.pv-row{padding:7px 2px !important;gap:10px !important;}
.pv-l b{font-size:12.5px !important;}
.pv-l span{font-size:11px !important;}
.pv-r{font-size:13px !important;}
.pv-sum{margin-top:6px !important;padding-top:8px !important;font-size:11.5px !important;}
.pv-sum b{font-size:14px !important;}
.pv-empty{padding:16px 0 !important;font-size:12px !important;}
.pv-sub{line-height:1.7 !important;}

/* 通用：字段与卡片间距收紧 */
.modal-body .field{margin-bottom:8px !important;}
.modal-body .field label{font-size:11.5px !important;margin-bottom:4px !important;}
.m-tip{font-size:11.5px !important;line-height:1.6 !important;}

/* 表单输入矮一点 */
.modal-body .input,.modal-body .select{height:34px !important;font-size:13px !important;}

/* ===== v1500 工资明细整体收窄：去掉多余留白 ===== */
.pl-strip{gap:0 !important;}
.pl-strip > *{padding:10px 8px !important;min-width:0 !important;}
.pl-strip .pl-cell-lb,.pl-strip .pl-cell-v{font-size:12px !important;}
.pl-strip .pl-cell-v{font-size:14px !important;font-weight:800 !important;}
.pl-strip .pl-cell{flex:1 1 0 !important;min-width:0 !important;}
.pl-strip .pl-cell:last-child{flex:1.15 1 0 !important;}
.pl-tip-bar{font-size:11.5px !important;padding:8px 10px !important;line-height:1.6 !important;}
.pl-pay-line{padding:7px 0 !important;gap:8px !important;}
.pl-pay-line span{font-size:12px !important;}
.pl-pay-line b{font-size:12.5px !important;}
.pl-kpi-inline{gap:10px !important;}
.pl-kpi-inline b{font-size:14px !important;}
.pl-kpi-inline span{font-size:10px !important;}
.modal:has(#pl-slip) .modal-body,
.modal:has(.pl-strip) .modal-body{padding:12px 14px !important;}

/* ===== v1501 工资明细弹窗按 720 设计宽收窄（覆盖 has-hero 1080 规则） ===== */
.modal-mask .modal.has-hero.pd-detail{
  width:min(760px, 94vw) !important;
  max-width:min(760px, 94vw) !important;
}
.modal-mask .modal.pd-detail .pd-hero .pd-av,
.modal-mask .modal.pd-detail .pd-hero-av{width:76px !important;height:76px !important;}
@media (max-width: 900px){
  .modal-mask .modal.has-hero.pd-detail{width:calc(100% - 20px) !important;max-width:calc(100% - 20px) !important;}
}

/* ===== v1502 工资明细再收窄 + 内容自动换行不裁切 ===== */
.modal-mask .modal.has-hero.pd-detail{
  width:min(660px, 94vw) !important;
  max-width:min(660px, 94vw) !important;
}
.modal-mask .modal.pd-detail .modal-body{overflow-x:hidden !important;padding:12px 14px !important;}

/* 提成阶梯深色条：允许换行，右侧档位自动缩小 */
.modal-mask .modal.pd-detail .pl-ladder-mini,
.modal-mask .modal.pd-detail .pl-kpi-bar{flex-wrap:wrap !important;gap:8px !important;}
.modal-mask .modal.pd-detail .pl-tier-chips{gap:5px !important;flex-wrap:wrap !important;}
.modal-mask .modal.pd-detail .pl-tier-chips span,
.modal-mask .modal.pd-detail .pl-tier-chips b{font-size:10px !important;padding:3px 7px !important;}
.modal-mask .modal.pd-detail .pl-kpi-inline{gap:10px !important;flex-wrap:wrap !important;}

/* 明细条：7 格改成网格，窄了就自动两行，不再横向溢出 */
.modal-mask .modal.pd-detail .pl-strip{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(78px,1fr)) !important;
  gap:6px !important;
  border:1px solid #eef2f7 !important;border-radius:12px !important;padding:8px !important;
}
.modal-mask .modal.pd-detail .pl-strip > *{border:0 !important;padding:6px 4px !important;border-radius:8px !important;background:#fbfcfe;}
.modal-mask .modal.pd-detail .pl-strip .pl-cell-lb{font-size:10.5px !important;}
.modal-mask .modal.pd-detail .pl-strip .pl-cell-v{font-size:13px !important;}

/* 发放情况：三列自动折行 */
.modal-mask .modal.pd-detail .pl-pay-line{
  display:grid !important;grid-template-columns:1fr;gap:2px !important;
}
.modal-mask .modal.pd-detail .pl-pay-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;}
@media (max-width: 900px){
  .modal-mask .modal.has-hero.pd-detail{width:calc(100% - 20px) !important;max-width:calc(100% - 20px) !important;}
  .modal-mask .modal.pd-detail .pl-strip{grid-template-columns:repeat(auto-fit,minmax(70px,1fr)) !important;}
}

/* ===== v1503 工资明细：明细条改 4 列 2 行，避免挤压重叠 ===== */
.modal-mask .modal.pd-detail .pl-strip{
  display:block !important;padding:0 !important;border:1px solid #e6ebf2 !important;border-radius:10px !important;
  background:#fff !important;overflow:hidden !important;
}
.modal-mask .modal.pd-detail .pl-strip-row{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  gap:1px !important;background:#eef2f7 !important;
  width:100% !important;min-width:0 !important;
}
.modal-mask .modal.pd-detail .pl-strip-row > *{
  background:#fff !important;padding:8px 6px !important;min-width:0 !important;
  text-align:center !important;border:0 !important;
}
.modal-mask .modal.pd-detail .pl-strip-row .pl-cell-lb{font-size:10.5px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.modal-mask .modal.pd-detail .pl-strip-row .pl-cell-v{font-size:13px !important;white-space:nowrap;}
.modal-mask .modal.pd-detail .pl-strip-row > *:last-child{
  grid-column:span 1 !important;
}
@media (max-width: 900px){
  .modal-mask .modal.pd-detail .pl-strip-row{grid-template-columns:repeat(3, minmax(0,1fr)) !important;}
}

/* ===== v1506 员工详情：劳动业绩 / 现金业绩 ===== */
.sd-stats-5{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:8px !important;}
.sd-stats-5 .sd-stat{padding:10px 8px !important;min-width:0;}
.sd-stats-5 .sd-stat span{font-size:11px !important;white-space:nowrap;}
.sd-stats-5 .sd-stat b{font-size:16px !important;white-space:nowrap;}
.sd-stats-5 .sd-stat i{display:block;margin-top:2px;font-style:normal;font-size:9.5px;color:#94a3b8;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sd-stats-5 .sd-stat.lbr{background:linear-gradient(160deg,#eef6ff,#fff);}
.sd-stats-5 .sd-stat.lbr b{color:#1d4ed8;}
.sd-stats-5 .sd-stat.cash{background:linear-gradient(160deg,#ecfdf5,#fff);}
.sd-stats-5 .sd-stat.cash b{color:#0f766e;}
@media (max-width: 1100px){
  .sd-stats-5{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}

/* ===== v1507 工资明细：七格一排 + 发放情况独立页签 ===== */
.modal-mask .modal.has-hero.pd-detail{
  width:min(820px, 94vw) !important;
  max-width:min(820px, 94vw) !important;
}
.modal-mask .modal.pd-detail .pl-strip-row{
  grid-template-columns:repeat(7, minmax(0,1fr)) !important;
}
.modal-mask .modal.pd-detail .pl-strip-row > *{
  padding:9px 4px !important;text-align:center !important;
}
.modal-mask .modal.pd-detail .pl-strip-row .pl-cell-lb{
  font-size:10px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.modal-mask .modal.pd-detail .pl-strip-row .pl-cell-v{
  font-size:13px !important;white-space:nowrap;letter-spacing:-.2px;
}
.modal-mask .modal.pd-detail .pl-strip-row .pl-cell-sub,
.modal-mask .modal.pd-detail .pl-strip-row i{
  font-size:9px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;
}
@media (max-width: 900px){
  .modal-mask .modal.pd-detail .pl-strip-row{grid-template-columns:repeat(3, minmax(0,1fr)) !important;}
}

/* ===== v1508 工资构成明细 ===== */
.pd-compose{margin-top:4px;}
.pd-cm-basis{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;
  margin-bottom:12px;padding:10px;border-radius:10px;
  background:linear-gradient(135deg,#f6f9ff,#fff);border:1px solid #e8eef9;
}
.pd-cm-basis div{text-align:center;min-width:0;}
.pd-cm-basis span{display:block;font-size:10.5px;color:#94a3b8;font-weight:700;}
.pd-cm-basis b{display:block;margin-top:2px;font-size:14px;color:#1d4ed8;font-variant-numeric:tabular-nums;white-space:nowrap;}
.pd-cm-basis div:nth-child(2) b{color:#0f766e;}
.pd-cm-basis div:nth-child(4) b{color:#0f766e;}

.pd-cm-list{border:1px solid #eef2f7;border-radius:10px;overflow:hidden;}
.pd-cm-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:9px 12px;border-bottom:1px solid #f4f7fb;background:#fff;
}
.pd-cm-row:last-child{border-bottom:0;}
.pd-cm-row:nth-child(even){background:#fbfcfe;}
.pd-cm-n{min-width:0;}
.pd-cm-n b{display:block;font-size:12.5px;color:#0f172a;font-weight:700;}
.pd-cm-n em{display:block;font-style:normal;font-size:10.5px;color:#94a3b8;margin-top:2px;line-height:1.5;}
.pd-cm-v{font-size:13.5px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;color:#0f766e;}
.pd-cm-row.neg .pd-cm-v{color:#B3005C;}
.pd-cm-row.sum{background:#f1f5f9 !important;}
.pd-cm-row.sum .pd-cm-n b{font-size:13.5px;}
.pd-cm-row.sum .pd-cm-v{font-size:15px;color:#0f172a;}
@media (max-width: 900px){
  .pd-cm-basis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pd-cm-row{padding:8px 10px;}
}

/* ===== v1511 服务项目页签：员工经营数据九宫格 ===== */
.pd-staffdata{margin-bottom:12px;}
.pd-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.pd-kpi{background:#fbfcfe;border:1px solid #eef2f7;border-radius:10px;padding:10px 10px 9px;min-width:0;}
.pd-kpi span{display:block;font-size:11px;color:#94a3b8;font-weight:700;white-space:nowrap;}
.pd-kpi b{display:flex;align-items:baseline;gap:2px;margin-top:3px;font-size:20px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums;line-height:1.1;}
.pd-kpi b i{font-style:normal;font-size:11px;color:#94a3b8;font-weight:600;}
.pd-kpi em{display:block;margin-top:3px;font-style:normal;font-size:10px;color:#b6c2d1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pd-kpi:nth-child(1) b,.pd-kpi:nth-child(7) b{color:#1d4ed8;}
.pd-kpi:nth-child(4) b,.pd-kpi:nth-child(5) b{color:#0f766e;}
.pd-kpi:nth-child(8) b{color:#B3005C;}
@media (max-width: 900px){
  .pd-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pd-kpi b{font-size:18px;}
}

/* ===== v1513 服务项目顶部四格：劳动/现金/客数/提成 ===== */
.pd-top4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.pd-top4-item{
  background:#fff;border:1px solid #eef2f7;border-radius:12px;padding:12px 14px;min-width:0;
  box-shadow:0 2px 8px -6px rgba(15,23,42,.25);
}
.pd-top4-item span{display:block;font-size:12px;color:#64748b;font-weight:700;white-space:nowrap;}
.pd-top4-item b{
  display:flex;align-items:baseline;gap:2px;margin-top:4px;
  font-size:22px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums;line-height:1.15;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.pd-top4-item b i{font-style:normal;font-size:12px;color:#94a3b8;font-weight:600;}
.pd-top4-item em{display:block;margin-top:4px;font-style:normal;font-size:10.5px;color:#b6c2d1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pd-top4-item.lbr{background:linear-gradient(160deg,#eff5ff,#fff);border-color:#dbe7fb;}
.pd-top4-item.lbr b{color:#1d4ed8;}
.pd-top4-item.cash{background:linear-gradient(160deg,#ecfdf5,#fff);border-color:#cdeee0;}
.pd-top4-item.cash b{color:#0f766e;}
.pd-top4-item.com{background:linear-gradient(160deg,#f5f3ff,#fff);border-color:#e4e0fb;}
.pd-top4-item.com b{color:#6d28d9;}
@media (max-width: 900px){
  .pd-top4{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pd-top4-item b{font-size:19px;}
}

/* ===== v1515 工资结算：勾选批量发放条 ===== */
.pl-batchbar{
  display:none;align-items:center;gap:10px;flex-wrap:wrap;
  margin-bottom:10px;padding:9px 14px;border-radius:12px;
  background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #dbe7fb;
  box-shadow:0 4px 14px -10px rgba(29,78,216,.5);
}
.pl-batchbar.on{display:flex;}
.pl-batchbar > span{font-size:13px;color:#1e3a8a;font-weight:700;}
.pl-batchbar > span b{font-size:16px;color:#1d4ed8;}
.pl-batchbar .btn{height:30px !important;padding:0 14px !important;font-size:12.5px !important;}
.pl-batch-tip{font-style:normal;font-size:11.5px;color:#94a3b8;margin-left:auto;}
@media (max-width: 900px){
  .pl-batch-tip{display:none;}
  .pl-batchbar{padding:8px 10px;}
}

/* ===== v1516 工资调整：只读金额 + 增加 & 备注 ===== */
.pe-ro{background:#f6f8fb !important;color:#0f172a !important;font-weight:700;cursor:default;}
.pe-plus{
  margin-left:6px;border:1px solid #dbe7fb;background:#eff6ff;color:#1d4ed8;
  border-radius:999px;font-size:10.5px;font-weight:800;padding:1px 8px;cursor:pointer;line-height:1.7;
}
.pe-plus:hover{background:#dbeafe;}
.pe-adj{margin:-2px 0 10px;display:flex;flex-direction:column;gap:6px;}
.pe-adj-row{
  display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:9px;
  background:#f8fbff;border:1px dashed #cfe0fb;
}
.pe-adj-row span{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;}
.pe-adj-row b{font-size:12px;color:#1e3a8a;font-weight:700;}
.pe-adj-row i{font-style:normal;font-size:10.5px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pe-adj-row em{font-style:normal;font-size:12.5px;font-weight:800;color:#0f766e;font-variant-numeric:tabular-nums;}
.pe-adj-del{border:0;background:none;color:#B3005C;font-size:11px;cursor:pointer;padding:0 2px;}

/* ===== v1521 变更记录：贴紧排版 + 只显示本次变动金额 ===== */
.pe-logs .pd-line{
  display:flex !important;align-items:center !important;justify-content:flex-start !important;
  gap:10px !important;padding:8px 0 !important;
}
.pe-logs .pd-line > span{
  flex:0 1 auto !important;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;
  font-size:12px;color:#334155;
}
.pe-logs .pd-line > span i{
  font-style:normal;font-size:11.5px;color:#94a3b8;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px;
}
.pe-logs .pd-line > b{
  flex:0 0 auto;font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums;
  margin-left:auto;
}
.pe-logs .pd-line > b.up{color:#0f766e;}
.pe-logs .pd-line > b.down{color:#B3005C;}
.pe-logs .pd-line > b.flat{color:#94a3b8;}

/* ===== v1522 预支锁定员工样式 ===== */
.adv-locked{
  display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;
  background:linear-gradient(135deg,#f2f7ff,#fff);border:1px solid #dbe7fb;
}
.adv-locked b{font-size:14px;color:#1e3a8a;font-weight:800;}
.adv-locked span{font-size:11.5px;color:#94a3b8;}

/* ===== v1527 变更记录：金额前加类型标签 ===== */
.pd-tag{
  display:inline-block;flex:0 0 auto;font-style:normal;
  font-size:10px;font-weight:800;line-height:1.6;padding:0 6px;border-radius:5px;
  letter-spacing:.2px;white-space:nowrap;
}
.pd-tag.adv{background:#eef2ff;color:#3730a3;border:1px solid #dfe4ff;}
.pd-tag.bon{background:#ecfdf5;color:#0f766e;border:1px solid #cdeee0;}
.pd-tag.pen{background:#fef2f2;color:#8A0047;border:1px solid #fecaca;}
.pd-tag.adj{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;}
.pe-logs .pd-line > b{margin-left:6px;}

/* ===== v1529 批量发放移到表格上方，未选中禁用 ===== */
.pl-batchbar{display:flex !important;}
.pl-batchbar .btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;}
.pl-batchbar #pl-batch-pay:not(:disabled){background:linear-gradient(135deg,#D6006E,#8A0047) !important;border-color:transparent !important;color:#fff !important;}

/* ===== v1530 批量发放按钮固定四字宽 ===== */
#pl-batch-pay{min-width:96px;text-align:center;}

/* ===== v1531 工资表操作列：按钮不挤、已发置灰 ===== */
.table td.pl-acts{
  display:flex !important;align-items:center;gap:6px;flex-wrap:nowrap;
  justify-content:flex-start;
}
.table td.pl-acts .btn{
  flex:0 0 auto;margin:0 !important;
  height:28px !important;padding:0 10px !important;font-size:12px !important;border-radius:8px !important;
}
.table td.pl-acts .btn-primary{background:linear-gradient(135deg,#e0b070,#c99a4e) !important;border:0 !important;color:#fff !important;}
.table td.pl-acts .pl-paid,
.table td.pl-acts .pl-paid:disabled{
  background:#f1f5f9 !important;color:#94a3b8 !important;border:1px solid #e2e8f0 !important;
  opacity:1 !important;cursor:default !important;
}
@media (max-width: 900px){
  .table td.pl-acts{gap:5px;}
  .table td.pl-acts .btn{padding:0 8px !important;font-size:11.5px !important;}
}

/* ===== v1532 欠款状态按钮 ===== */
.table td.pl-acts .pl-owe,
.table td.pl-acts .pl-owe:disabled{
  background:linear-gradient(135deg,#FF2D8A 0%,#D6006E 100%) !important;
  color:#fff !important;border:1px solid rgba(255,255,255,.28) !important;
  box-shadow:0 6px 14px -8px rgba(214,0,110,.75) !important;
  text-shadow:none !important;
  opacity:1 !important;cursor:default !important;font-weight:700 !important;
}

/* ===== v1533 上月结转显示 ===== */
.pl-pay-line.pl-carry{
  background:#f8fbff;border:1px dashed #cfe0fb;border-radius:8px;padding:7px 10px;margin:4px 0;
}
.pl-pay-line.pl-carry span{color:#1e3a8a;font-weight:700;}
.pl-pay-line.pl-carry b{color:#1d4ed8;font-weight:800;}
.pl-pay-line.pl-carry.down{background:#fff7f7;border-color:#fecaca;}
.pl-pay-line.pl-carry.down span{color:#8A0047;}
.pl-pay-line.pl-carry.down b{color:#B3005C;}

/* ===== v1538 请假审批 ===== */
.lv-count{margin-left:8px;font-size:11px;font-weight:800;color:#fff;background:#D6006E;border-radius:999px;padding:1px 8px;}
.lv-pend-list{display:flex;flex-direction:column;gap:8px;}
.lv-pend{
  display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;
  background:linear-gradient(135deg,#fff7f9,#fff);border:1px solid #fbd5dc;flex-wrap:wrap;
}
.lv-who{display:flex;align-items:baseline;gap:6px;min-width:110px;}
.lv-who b{font-size:13px;color:#0f172a;}
.lv-who span{font-size:11.5px;color:#94a3b8;}
.lv-why{flex:1 1 160px;font-size:12px;color:#475569;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lv-acts{display:flex;gap:6px;}
.lv-acts .btn{height:28px !important;padding:0 12px !important;font-size:12px !important;}
.lv-empty{font-size:12.5px;color:#94a3b8;padding:8px 2px;}

/* ===== v1539 考勤墙：请假中 / 公休中 彩卡 ===== */
.aw-sec.leave{background:linear-gradient(135deg,#f5f3ff,#fff);border:1px solid #e4e0fb;}
.aw-sec.rest{background:linear-gradient(135deg,#f0f9ff,#fff);border:1px solid #cfe8fa;}
.aw-sec-hd.leave{color:#6d28d9;}
.aw-sec-hd.leave em{color:#7c3aed;}
.aw-sec-hd.rest{color:#0369a1;}
.aw-sec-hd.rest em{color:#0284c7;}

.aw-status-card{
  display:flex;flex-direction:column;align-items:center;gap:3px;
  border-radius:12px;padding:10px 8px;min-width:96px;
  background:#fff;box-shadow:0 2px 10px -8px rgba(15,23,42,.4);
}
.aw-status-card .aw-av{width:44px;height:44px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f7;}
.aw-status-card .aw-av img,.aw-status-card .aw-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.aw-status-card b{font-size:12px;color:#0f172a;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.aw-status-card .aw-badge{margin-top:2px;}
.aw-status-card .aw-badge.leave{background:linear-gradient(135deg,#7c3aed,#5b21b6);color:#fff;}
.aw-status-card .aw-badge.rest{background:linear-gradient(135deg,#0ea5e9,#0369a1);color:#fff;}
.aw-status-card em{font-style:normal;font-size:9.5px;color:#94a3b8;}
.aw-status-card.leave{border:1px solid #e4e0fb;}
.aw-status-card.rest{border:1px solid #cfe8fa;}
@media (max-width: 900px){
  .aw-status-card{min-width:80px;padding:8px 6px;}
  .aw-status-card .aw-av{width:38px;height:38px;}
}

/* ===== v1545 考勤墙：左侧彩条标题 + 整框彩色 ===== */
.aw-sec{
  display:flex !important;align-items:stretch !important;gap:0 !important;
  padding:0 !important;overflow:hidden;
  border-radius:14px !important;border:1.5px solid #e2e8f0 !important;background:#fff !important;
}
.aw-sec-tag{
  flex:0 0 46px;display:flex;align-items:center;justify-content:center;
  writing-mode:vertical-rl;text-orientation:upright;letter-spacing:3px;
  font-size:13.5px;font-weight:800;color:#fff;
  padding:14px 0;
}
.aw-sec-body{flex:1 1 auto;min-width:0;padding:12px 14px 14px;}

/* 上班中 = 绿 */
.aw-sec.on{background:linear-gradient(135deg,#ecfdf5,#fff) !important;border-color:#86efac !important;}
.aw-sec.on .aw-sec-tag{background:linear-gradient(180deg,#10b981,#047857);}
.aw-sec.on .aw-sec-hd{color:#047857;}

/* 已下班 = 灰蓝 */
.aw-sec.off{background:linear-gradient(135deg,#f1f5f9,#fff) !important;border-color:#cbd5e1 !important;}
.aw-sec.off .aw-sec-tag{background:linear-gradient(180deg,#64748b,#334155);}
.aw-sec.off .aw-sec-hd{color:#475569;}

/* 未打卡 = 浅灰 */
.aw-sec.miss{background:linear-gradient(135deg,#f8fafc,#fff) !important;border-color:#e2e8f0 !important;}
.aw-sec.miss .aw-sec-tag{background:linear-gradient(180deg,#94a3b8,#64748b);}
.aw-sec.miss .aw-sec-hd{color:#64748b;}

/* 请假中 = 紫 */
.aw-sec.leave{background:linear-gradient(135deg,#f5f3ff,#fff) !important;border-color:#c4b5fd !important;}
.aw-sec.leave .aw-sec-tag{background:linear-gradient(180deg,#8b5cf6,#6d28d9);}
.aw-sec.leave .aw-sec-hd{color:#6d28d9;}

/* 公休中 = 蓝 */
.aw-sec.rest{background:linear-gradient(135deg,#eff6ff,#fff) !important;border-color:#93c5fd !important;}
.aw-sec.rest .aw-sec-tag{background:linear-gradient(180deg,#0ea5e9,#0369a1);}
.aw-sec.rest .aw-sec-hd{color:#0369a1;}

.aw-sec-hd{
  display:flex;align-items:baseline;gap:6px;
  font-size:12.5px;font-weight:800;margin:0 0 10px !important;
}
.aw-sec-hd em{font-style:normal;font-size:16px;font-weight:800;}
.aw-sec-hd span{font-size:11px;color:#94a3b8;font-weight:600;margin-left:auto;}

@media (max-width: 900px){
  .aw-sec-tag{flex:0 0 38px;font-size:12px;letter-spacing:2px;}
  .aw-sec-body{padding:10px 10px 12px;}
}

/* ===== v1546 请假中：本月其他请假条 ===== */
.aw-leave-list{display:flex;flex-wrap:wrap;gap:6px;}
.aw-leave-item{
  display:inline-flex;align-items:center;gap:6px;
  background:#fff;border:1px solid #e4e0fb;border-radius:8px;padding:4px 9px;
}
.aw-leave-item b{font-size:12px;color:#4c1d95;font-weight:800;}
.aw-leave-item em{font-style:normal;font-size:11px;color:#7c3aed;font-weight:700;background:#f5f3ff;border-radius:5px;padding:0 5px;}
.aw-leave-item i{font-style:normal;font-size:10.5px;color:#94a3b8;}

/* ===== v1547 本月请假条：带头像 ===== */
.aw-leave-item .aw-li-av{
  width:24px;height:24px;border-radius:50%;overflow:hidden;display:grid;place-items:center;
  background:#f1f5f9;flex:none;
}
.aw-leave-item .aw-li-av img,
.aw-leave-item .aw-li-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;font-size:11px;}
.aw-leave-item{padding:4px 9px 4px 5px !important;gap:7px !important;align-items:center;}

/* ===== v1549 请假中：单排 + 区间文字 ===== */
.aw-status-card.leave.big em{
  font-style:normal;font-size:10.5px;color:#7c3aed;font-weight:700;
  background:#f5f3ff;border-radius:6px;padding:1px 7px;margin-top:2px;
  white-space:nowrap;
}
.aw-status-card.leave.big{min-width:104px;padding:12px 10px 10px;}

/* ===== v1550 上班中卡片去掉底部多余白边 ===== */
.aw-sec .aw-grid.desk{align-items:stretch !important;}
.aw-grid.desk .aw-sq,
.aw-sq{
  height:auto !important;min-height:0 !important;max-height:none !important;
  padding:10px 6px 9px !important;
  justify-content:flex-start !important;
}
.aw-sq .aw-acts{margin-top:8px !important;padding-top:0 !important;}
.aw-sq .aw-badge{margin-top:4px !important;}

/* ===== v1552 打卡记录：头像居中 + 彩卡背景 + 与日历留距 ===== */
.rc-pick-tip{text-align:center;margin:0 0 12px !important;}
.rc-staff{
  justify-content:center !important;
  gap:16px !important;
  padding:18px 14px 16px !important;
  margin-bottom:22px !important;
  background:linear-gradient(135deg,#eef4ff,#f8fbff 55%,#fff) !important;
  border:1px solid #dbe7fb !important;
  border-radius:16px !important;
  box-shadow:0 6px 20px -16px rgba(29,78,216,.55);
}
.rc-sf{padding:8px 6px !important;}
.rc-sf.on{background:#fff !important;box-shadow:0 0 0 2px #bfdbfe, 0 6px 16px -12px rgba(29,78,216,.7);}
.rc-cal-hd{margin-top:6px !important;}
.rc-cal{margin-top:10px !important;}
@media (max-width: 900px){
  .rc-staff{gap:12px !important;padding:14px 10px !important;justify-content:flex-start !important;}
}

/* ===== v1553 本月统计表 ===== */
.rc-stat-table{table-layout:auto;}
.rc-stat-table thead th{white-space:nowrap;}
.rc-stat-table tbody td{font-size:12.5px;padding:9px 10px !important;}
.rc-stat-table tbody td i{font-size:10.5px;}
.rc-stat-table tfoot td{
  background:#f8fafc !important;font-weight:800;font-size:12.5px;color:#0f172a;
  border-top:1.5px solid #e2e8f0;padding:10px !important;
}
.rc-stat-table tfoot .num{color:#1d4ed8;}

/* ===== v1554 本月统计表：竖线 + 紧凑 + 深色表头 ===== */
.rc-stat-table{border-collapse:separate !important;border-spacing:0 !important;}
.rc-stat-table th,
.rc-stat-table td{
  border-right:1px solid #e6ecf5 !important;
  border-bottom:1px solid #eef2f7 !important;
}
.rc-stat-table th:last-child,
.rc-stat-table td:last-child{border-right:0 !important;}
.rc-stat-table thead th{
  background:#dbe4f2 !important;
  color:#1e293b !important;
  font-weight:800 !important;
  font-size:12.5px !important;
  padding:10px !important;
  border-bottom:1.5px solid #cbd5e1 !important;
}
.rc-stat-table tbody td{padding:7px 10px !important;font-size:12.5px !important;}
.rc-stat-table tfoot td{padding:9px 10px !important;background:#eef3fa !important;}
.rc-stat-table tbody tr:hover td{background:#f8fbff !important;}

/* ===== v1565 手机端考勤区：不用桌面竖条布局 ===== */
@media (max-width: 900px){
  .aw-sec{
    display:block !important;
    padding:12px 12px 14px !important;
    border-radius:14px !important;
  }
  .aw-sec-tag{display:none !important;}
  .aw-sec-body{padding:0 !important;}
  .aw-sec-hd{
    display:block !important;
    font-size:12.5px !important;
    margin:0 0 10px !important;
    white-space:nowrap;
  }
  .aw-sec-hd em{font-size:15px;}
  .aw-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;}
  .aw-row{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:8px !important;}
}

/* ===== v1568 手机端排班三段 + 考勤方格一排 ===== */
.m-sk-sec{margin-bottom:12px;border-radius:14px;padding:12px;border:1px solid #e6ecf5;background:#fff;}
.m-sk-sec.mor{background:linear-gradient(135deg,#fff5f6,#fff);border-color:#fbd5dc;}
.m-sk-sec.eve{background:linear-gradient(135deg,#f4f6ff,#fff);border-color:#dbe2fb;}
.m-sk-sec.all{background:linear-gradient(135deg,#f1f5f9,#fff);border-color:#e2e8f0;}
.m-sk-hd{display:flex;align-items:baseline;gap:8px;margin-bottom:10px;}
.m-sk-hd b{font-size:14px;font-weight:800;color:#0f172a;}
.m-sk-sec.mor .m-sk-hd b{color:#8A0047;}
.m-sk-sec.eve .m-sk-hd b{color:#3730a3;}
.m-sk-hd span{font-size:11px;color:#94a3b8;font-weight:600;}
.m-sk-hd em{font-style:normal;margin-left:auto;font-size:11.5px;color:#94a3b8;font-weight:700;}
.m-sk-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.m-sk-sp{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  border:1.5px solid #e6ecf5;background:#fff;border-radius:10px;padding:7px 2px;cursor:pointer;
}
.m-sk-av{width:36px;height:36px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f7;}
.m-sk-av img,.m-sk-av .av-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.m-sk-sp b{font-size:10.5px;color:#334155;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.m-sk-sec.mor .m-sk-sp.on{border-color:#D6006E;background:#FFF0F6;}
.m-sk-sec.eve .m-sk-sp.on{border-color:#4f46e5;background:#eef2ff;}
.m-sk-sec.all .m-sk-sp.on{border-color:#0f766e;background:#ecfdf5;}
.m-sk-empty{grid-column:1/-1;font-size:12px;color:#cbd5e1;padding:6px 2px;}
.m-sk-save{width:100%;height:44px;border-radius:12px;font-size:15px;font-weight:800;}

/* 手机考勤方格：一排 4 个、等高 */
@media (max-width: 900px){
  .aw-grid{grid-template-columns:repeat(4, minmax(0,1fr)) !important;}
  .aw-sq{min-height:150px !important;}
}

/* ===== v1569 手机旷工统计：一排三格 ===== */
@media (max-width: 900px){
  .m-stats.three{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;}
  .m-stats.three .m-stat{padding:10px 8px !important;}
  .m-stats.three .m-stat .lb{font-size:11px !important;white-space:nowrap;}
  .m-stats.three .m-stat .vl{font-size:20px !important;}
}

/* ===== v1570 手机休假设置：休息日 chips ===== */
.m-wd-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0 52px;}
.m-wd{
  border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:4px 10px;
  font-size:11.5px;color:#475569;font-weight:600;cursor:pointer;
}
.m-wd.on{background:linear-gradient(135deg,#0ea5e9,#0369a1);color:#fff;border-color:transparent;}
.m-rc-row{border-bottom:1px dashed #eef2f7;padding-bottom:10px;margin-bottom:10px;}
.m-rc-row:last-child{border-bottom:0;}
@media (max-width: 900px){
  .m-wd-chips{margin-left:0;}
}

/* ===== v1571 休假设置：右上角统一保存 ===== */
.wd-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.wd-title .card-title-sub{flex:1 1 auto;}
.wd-save-all{
  margin-left:auto;height:32px !important;padding:0 18px !important;
  font-size:13px !important;font-weight:800 !important;border-radius:8px !important;
  background:linear-gradient(135deg,#D6006E,#B3005C) !important;border:0 !important;color:#fff !important;
  box-shadow:0 6px 16px -10px rgba(214,0,110,.9);
}
.wd-save-all:hover{filter:brightness(1.05);}
.wd-act{justify-content:flex-end;}

/* ===== v1572 日历状态：请假 / 待批 / 旷工 ===== */
.rc-cell.leave{background:linear-gradient(160deg,#f5f3ff,#ede9fe) !important;border-color:#c4b5fd !important;}
.rc-cell.lpending{background:linear-gradient(160deg,#fffbeb,#fef3c7) !important;border-color:#fcd34d !important;}
.rc-cell.absent{background:linear-gradient(160deg,#fef2f2,#fee2e2) !important;border-color:#fca5a5 !important;}
.rc-flag{
  display:inline-block;margin-top:3px;font-size:9.5px;font-weight:800;
  border-radius:5px;padding:1px 6px;line-height:1.5;
}
.rc-flag.leave{background:linear-gradient(135deg,#7c3aed,#5b21b6);color:#fff;}
.rc-flag.pending{background:#fde68a;color:#92400e;}
.rc-flag.absent{background:linear-gradient(135deg,#FF2D8A,#8A0047);color:#fff;}
.rc-sum-item.leave{background:#f5f3ff;border-color:#ddd6fe;}
.rc-sum-item.leave b{color:#7c3aed;}
.rc-cell.absent b{color:#8A0047;}
.rc-cell.leave b{color:#6d28d9;}

/* ===== v1573 日历统计：6 项排一行 ===== */
.rc-sum{
  display:grid !important;
  grid-template-columns:repeat(6, minmax(0,1fr)) !important;
  gap:8px !important;
  max-width:640px !important;
  margin:14px auto 0 !important;
}
.rc-sum-item{padding:9px 4px !important;}
.rc-sum-item b{font-size:18px !important;}
.rc-sum-item span{font-size:10.5px !important;white-space:nowrap;}
@media (max-width: 900px){
  .rc-sum{grid-template-columns:repeat(3, minmax(0,1fr)) !important;max-width:100% !important;}
}

/* ===== v1574 手机休假设置：标题行保存按钮 ===== */
@media (max-width: 900px){
  .wd-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
  .wd-title .card-title-sub{flex:1 1 100%;order:3;margin-top:4px;font-size:11px;}
  .wd-save-all{order:2;margin-left:auto;height:34px !important;padding:0 16px !important;font-size:13px !important;border-radius:9px !important;}
}

/* ===== v1575 调休：额度条 + 日历标签 ===== */
.comp-bal{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;
}
.comp-bal>div{
  background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:9px 6px;text-align:center;
}
.comp-bal b{display:block;font-size:18px;font-weight:800;color:#0f172a;line-height:1.2;}
.comp-bal span{font-size:10.5px;color:#94a3b8;font-weight:600;}
.comp-bal .ok{background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border-color:#bbf7d0;}
.comp-bal .ok b{color:#047857;}
.rc-cell.comp{background:linear-gradient(160deg,#ecfeff,#cffafe) !important;border-color:#67e8f9 !important;}
.rc-flag.comp{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;}
.rc-cell.comp b{color:#0e7490;}
.aw-badge.comp{background:linear-gradient(135deg,#0891b2,#0e7490);color:#fff;}

/* ===== v1576 调休：休息日调整弹窗 ===== */
.comp-info{display:grid;grid-template-columns:1fr;gap:6px;margin-bottom:12px;
  background:linear-gradient(135deg,#f0fdfa,#f8fafc);border:1px solid #ccfbf1;border-radius:10px;padding:10px 12px;}
.comp-info>div{display:flex;justify-content:space-between;align-items:center;font-size:12px;}
.comp-info span{color:#64748b;}
.comp-info b{color:#0f766e;font-weight:800;}
.rc-cell.rest{background:linear-gradient(160deg,#f0f9ff,#e0f2fe) !important;border-color:#93c5fd !important;}
.rc-flag.rest{background:linear-gradient(135deg,#0ea5e9,#0369a1);color:#fff;}

/* ===== v1578 调休弹窗：月份 + 公休日卡片 ===== */
.cp-sec-hd{display:flex;align-items:baseline;gap:8px;font-size:13px;font-weight:800;color:#0f172a;margin-bottom:10px;}
.cp-sec-hd em{font-style:normal;font-size:15px;color:#0369a1;}
.cp-sec-hd span{font-size:11px;color:#94a3b8;font-weight:600;margin-left:auto;}
.cp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;}
.cp-card{
  background:linear-gradient(150deg,#eff6ff,#f8fbff);border:1.5px solid #bfdbfe;border-radius:12px;
  padding:10px 8px 9px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;
}
.cp-card.moved{background:linear-gradient(150deg,#f8fafc,#fff);border-color:#e2e8f0;border-style:dashed;}
.cp-card.extra{background:linear-gradient(150deg,#ecfdf5,#f7fefb);border-color:#86efac;}
.cp-date{font-size:19px;font-weight:800;color:#1e3a8a;line-height:1;}
.cp-date em{display:block;font-style:normal;font-size:10.5px;color:#64748b;font-weight:700;margin-top:3px;}
.cp-btn{
  border:0;border-radius:8px;padding:4px 12px;font-size:11.5px;font-weight:800;color:#fff;cursor:pointer;
  background:linear-gradient(135deg,#0ea5e9,#0369a1);box-shadow:0 4px 10px -6px rgba(3,105,161,.9);
}
.cp-btn:hover{filter:brightness(1.06);}
.cp-moved{font-size:10.5px;color:#059669;font-weight:700;background:#ecfdf5;border-radius:6px;padding:2px 7px;}
.cp-card.moved .cp-moved{color:#94a3b8;background:#f1f5f9;}
.cp-empty{grid-column:1/-1;font-size:12px;color:#94a3b8;padding:10px 2px;}

/* ===== v1579 请假减免处罚 ===== */
.lv-free{
  display:flex;align-items:center;gap:8px;margin:10px 0 8px;
  background:#f0fdf4;border:1px solid #bbf7d0;border-radius:9px;padding:9px 11px;cursor:pointer;
}
.lv-free input{width:16px;height:16px;accent-color:#059669;cursor:pointer;}
.lv-free span{font-size:12.5px;font-weight:700;color:#047857;}

/* ===== v1580 防代打卡：异常标记 ===== */
.aw-sq.suspect{box-shadow:inset 0 0 0 2px #f59e0b; }
.aw-flag{
  display:inline-block;margin-top:3px;font-size:9.5px;font-weight:800;
  background:#fef3c7;color:#b45309;border-radius:5px;padding:1px 6px;line-height:1.5;white-space:nowrap;
}

/* ===== v1580 疑似代打卡列表 ===== */
.sp-list{display:flex;flex-direction:column;gap:6px;}
.sp-row{
  display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:9px;
  background:#fffbeb;border:1px solid #fde68a;font-size:12px;
}
.sp-row b{color:#b45309;font-weight:800;min-width:52px;}
.sp-row span{flex:1;color:#78350f;}
.sp-row em{font-style:normal;color:#a16207;font-size:10.5px;}

/* ===== v1582 换手机解绑教程 ===== */
.ub-wrap{text-align:left;}
.ub-ico{font-size:34px;text-align:center;margin-bottom:6px;}
.ub-lead{font-size:12.5px;line-height:1.9;color:#334155;margin:0 0 14px;text-align:center;}
.ub-lead b{color:#B3005C;}
.ub-steps{display:flex;flex-direction:column;gap:8px;}
.ub-step{display:flex;align-items:flex-start;gap:10px;background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:9px 11px;}
.ub-step i{
  flex:none;width:20px;height:20px;border-radius:50%;
  background:linear-gradient(135deg,#D6006E,#B3005C);color:#fff;
  font-style:normal;font-size:11.5px;font-weight:800;display:grid;place-items:center;margin-top:1px;
}
.ub-step b{display:block;font-size:12.5px;color:#0f172a;font-weight:800;}
.ub-step span{display:block;font-size:11px;color:#94a3b8;margin-top:2px;}
.ub-tip{font-size:11.5px;color:#64748b;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:8px 10px;margin:12px 0 0;line-height:1.7;}

/* ===== v1583 强制修改默认密码 ===== */
.pwd-force-tip{background:#FFF0F6;border:1px solid #FFD3E6;border-radius:10px;padding:11px 13px;margin-bottom:14px;}
.pwd-force-tip b{display:block;font-size:13px;color:#B3005C;margin-bottom:4px;}
.pwd-force-tip p{margin:0;font-size:12px;line-height:1.8;color:#7f1d1d;}
.pwd-force-hint{font-size:12px;color:#D6006E;margin:6px 0 0;min-height:16px;}
.pwd-reminder{
  position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:9999;
  display:flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,#fff7ed,#FFF0F6);border:1px solid #fdba74;
  border-radius:12px;padding:10px 14px;font-size:12.5px;color:#9a3412;font-weight:600;
  box-shadow:0 10px 30px -12px rgba(194,65,12,.5);
}
.pwd-reminder button{
  border:0;border-radius:7px;padding:4px 10px;font-size:12px;font-weight:800;cursor:pointer;
}
#pwd-fix{background:#D6006E;color:#fff;}
#pwd-hide{background:transparent;color:#9a3412;font-size:16px;padding:0 4px;}

/* ===== v1584 强制改密弹窗：隐藏右上角关闭，必须选「稍后再说」 ===== */
.modal-mask:has(#pf-old) .modal-close{display:none !important;}


/* ===== v1586 品牌图标（洋红 M） ===== */
.nav .logo img,
.logo img,
#login-logo,
.login-logo img{border-radius:10px !important;object-fit:cover;}

/* ===== v1588 登录/注册按钮改为品牌洋红 ===== */
#login-form .btn-primary,
#register-form .btn-primary{
  background:linear-gradient(135deg,#FF2D8A,#D6006E) !important;
  border:1px solid #D6006E !important;
  color:#fff !important;
  box-shadow:0 10px 24px -12px rgba(214,0,110,.85);
}
#login-form .btn-primary:hover,
#register-form .btn-primary:hover{filter:brightness(1.06);}
.login-tabs button.active,
#login-tabs button.active{color:#D6006E !important;}

/* ===== v1591 装成 APP 后：去掉灰色标题栏，只留右上角三个按钮 ===== */
@media (display-mode: window-controls-overlay){
  html,body{padding-top:env(titlebar-area-height, 36px) !important;}
  body::before{
    content:'';position:fixed;top:0;left:0;
    width:env(titlebar-area-width, 100%);height:env(titlebar-area-height, 36px);
    background:#0f172a;-webkit-app-region:drag;z-index:99998;
  }
  .sidebar,.side,.nav-side{top:env(titlebar-area-height, 36px) !important;}
  .page-head,.m-head{top:env(titlebar-area-height, 36px) !important;}
}
/* 侧栏 logo 区域可拖动窗口 */
.sidebar .logo,.logo{-webkit-app-region:drag;}
.sidebar .logo button,.logo button,.sidebar .logo a,.logo a{-webkit-app-region:no-drag;}

/* ===== v1593 装成 PWA 后：软件自己画顶栏，系统按钮浮在右上角（融为一体） ===== */
@media (display-mode: window-controls-overlay){
  html, body{ padding-top: env(titlebar-area-height, 0px) !important; }
  /* 顶栏底色：整条铺满，右侧三个按钮直接浮在上面 */
  body::before{
    content:'';
    position:fixed; top:0; left:0; width:100vw;
    height:env(titlebar-area-height, 0px);
    background:linear-gradient(90deg,#0B1220 0%,#0B1220 62%,#141B2C 100%);
    border-bottom:1px solid rgba(255,255,255,.06);
    -webkit-app-region:drag;
    z-index:2147483000;
  }
  /* 顶栏中间放品牌名，假装是标题 */
  body::after{
    content:'美店云';
    position:fixed; top:0; left:0;
    height:env(titlebar-area-height, 0px);
    width:env(titlebar-area-width, 0px);
    display:flex; align-items:center; padding-left:16px;
    color:#e2e8f0; font-size:12.5px; font-weight:700; letter-spacing:.5px;
    -webkit-app-region:drag;
    z-index:2147483001;
    pointer-events:none;
  }
  .sidebar, .side-nav, #sidebar{ top:env(titlebar-area-height, 0px) !important; }
  .page-head, .m-head, .content{ margin-top:0 !important; }
}

/* ===== v1596 登录卡片：只在电脑大屏放大，手机保持原比例 ===== */
@media (min-width: 901px){
  .auth-card{max-width:480px !important;padding:40px 40px 30px !important;border-radius:24px !important;}
  .auth-logo img{width:52px !important;height:52px !important;border-radius:13px !important;}
  .auth-tabs{padding:5px !important;margin-bottom:22px !important;}
  .auth-tab{font-size:14.5px !important;padding:10px 0 !important;}
  #login-form .field label,#register-form .field label{font-size:13px !important;margin-bottom:6px !important;}
  #login-form .input,#register-form .input{height:44px !important;font-size:14px !important;}
  #login-form .btn-primary,#register-form .btn-primary{height:48px !important;font-size:15.5px !important;border-radius:11px !important;}
}
@media (min-width: 1440px){
  .auth-card{max-width:520px !important;padding:46px 46px 34px !important;}
  .auth-logo img{width:60px !important;height:60px !important;}
  #login-form .input,#register-form .input{height:48px !important;font-size:14.5px !important;}
  #login-form .btn-primary,#register-form .btn-primary{height:52px !important;font-size:16px !important;}
}
/* 手机端恢复原始紧凑比例（宽 ≤900px 一律不改） */
@media (max-width: 900px){
  .auth-card{max-width:420px !important;width:100% !important;padding:26px 22px !important;border-radius:20px !important;}
  .auth-logo img{width:44px !important;height:44px !important;border-radius:11px !important;}
  .auth-tabs{padding:4px !important;margin-bottom:18px !important;}
  .auth-tab{font-size:14px !important;padding:9px 0 !important;}
  #login-form .field label,#register-form .field label{font-size:13px !important;}
  #login-form .input,#register-form .input{height:42px !important;font-size:14px !important;}
  #login-form .btn-primary,#register-form .btn-primary{height:46px !important;font-size:15px !important;border-radius:10px !important;}
}


/* ===== v1597 自动登录勾选 ===== */
.login-remember{
  display:flex;align-items:center;gap:8px;
  font-size:12.5px;color:#64748b;margin:2px 0 12px;cursor:pointer;user-select:none;
}
.login-remember input{width:15px;height:15px;accent-color:#D6006E;cursor:pointer;margin:0;}

/* ===== v1599 工作台图标：最后一行不满 4 个时居中，不再左边孤零零一个 ===== */
html.force-m .hm-grid{
  display:flex !important;
  flex-wrap:wrap;
  justify-content:center;
  align-content:flex-start;
  gap:14px 6px !important;
}
html.force-m .hm-grid .hm-cell{
  width:calc(25% - 6px) !important;
  max-width:calc(25% - 6px) !important;
  box-sizing:border-box;
}
/* 电脑端同样处理（图标卡片行） */
@media (min-width: 901px){
  .hm-grid{
    display:flex !important;
    flex-wrap:wrap;
    justify-content:center;
    gap:22px 14px !important;
  }
  .hm-grid .hm-cell{
    width:calc(25% - 14px) !important;
    max-width:calc(25% - 14px) !important;
    box-sizing:border-box;
  }
}

/* ===== v1602 工作台顶部：文字永远压在暗色渐变上，不再和门店照片"打架" ===== */
.home-hero{position:relative;}
.home-hero::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,rgba(8,12,20,.78) 0%,rgba(8,12,20,.55) 42%,rgba(8,12,20,.12) 70%,rgba(8,12,20,0) 100%);
}
.home-hero > *{position:relative;z-index:1;}
.home-hero .hh-name,
.home-hero .hh-sub,
.home-hero .hh-top b,
.home-hero .hh-top span{
  text-shadow:0 2px 10px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.5);
}
/* 副标题（部门 · 日期）不再贴到照片右边缘被截断 */
html.force-m .home-hero .hh-sub{padding-right:12px;}

/* ===== v1603 底部导航任何时候都要钉在屏幕底部（之前非 force-m 状态下是 absolute，导致跑到页面中间） ===== */
.m-bottom-nav{
  position:fixed !important;
  left:0 !important;right:0 !important;bottom:0 !important;
  top:auto !important;
  z-index:950;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
/* 窄屏（手机浏览器/微信内置浏览器）给内容留出导航高度，最后一行不被挡 */
@media (max-width:900px){
  body{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)) !important;}
  #view{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));}
}

/* ===== v1604 底部导航绝对钉住：不受任何祖先 transform / will-change 影响 ===== */
#mnav, .m-bottom-nav{
  position:fixed !important;
  left:0 !important;right:0 !important;bottom:0 !important;
  top:auto !important;
  transform:none !important;
  will-change:auto !important;
  backface-visibility:visible !important;
  -webkit-backface-visibility:visible !important;
  contain:none !important;
  z-index:950;
}




/* ===== v1622 红色按钮统一为品牌玫红（和 LOGO 一致 #FF2D8A → #D6006E） ===== */
.btn-red,
.btn-red.btn-primary,
.btn-red.btn-teal,
.mdd-hero-acts .btn.btn-primary,
.mdd-hero-acts .btn[class*="btn-red"],
.mdb-acts .btn.btn-primary{
  background:linear-gradient(135deg,#FF2D8A 0%,#EE0A78 45%,#D6006E 100%) !important;
  background-image:linear-gradient(135deg,#FF2D8A 0%,#EE0A78 45%,#D6006E 100%) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  color:#fff !important;
  box-shadow:0 6px 18px -8px rgba(214,0,110,.75), inset 0 1px 0 rgba(255,255,255,.35) !important;
}
.btn-red:hover,
.btn-red.btn-primary:hover{
  box-shadow:0 10px 24px -10px rgba(214,0,110,.85), inset 0 1px 0 rgba(255,255,255,.4) !important;
  filter:brightness(1.04);
}
/* 会员列表里的「充值」小按钮也跟着变 */
.m-rch,
button[data-mp-recharge]{
  background:linear-gradient(135deg,#FF2D8A,#D6006E) !important;
  color:#fff !important;border:0 !important;
  box-shadow:0 6px 14px -8px rgba(214,0,110,.7) !important;
}


/* ===== v1623 强制覆盖：所有红色/主按钮 = 品牌玫红（用更高优先级压过主题里的深色水晶） ===== */
html body .btn.btn-red,
html body .btn.btn-primary.btn-red,
html body .btn-red,
html body a.btn.btn-red,
html body button.btn.btn-red{
  background-color:#D6006E !important;
  background-image:linear-gradient(135deg,#FF2D8A 0%,#EE0A78 45%,#D6006E 100%) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.24) !important;
  box-shadow:0 8px 20px -10px rgba(214,0,110,.8), inset 0 1px 0 rgba(255,255,255,.38) !important;
  text-shadow:none !important;
}
html body .btn.btn-red:hover,
html body .btn.btn-primary.btn-red:hover{
  background-image:linear-gradient(135deg,#FF42A0 0%,#F5148A 45%,#E00073 100%) !important;
  box-shadow:0 12px 26px -12px rgba(214,0,110,.9), inset 0 1px 0 rgba(255,255,255,.45) !important;
}
html body .m-rch,
html body button[data-mp-recharge]{
  background-color:#D6006E !important;
  background-image:linear-gradient(135deg,#FF2D8A,#D6006E) !important;
  color:#fff !important;border:0 !important;
}


/* ===== v1625 主按钮 / 选中态统一品牌玫红（压过各主题里的深色水晶） ===== */
html body .btn.btn-primary,
html body body[data-theme] .btn-primary,
html body body[data-theme="liquid"] .btn-primary,
html body body[data-theme="ocean"] .btn-primary,
html body body[data-theme="blush"] .btn-primary,
html body body[data-theme="classic"] .btn-primary,
html body .modal .btn-primary{
  background-color:#D6006E !important;
  background-image:linear-gradient(135deg,#FF2D8A 0%,#EE0A78 45%,#D6006E 100%) !important;
  border:1px solid rgba(255,255,255,.24) !important;
  color:#fff !important;
  box-shadow:0 8px 20px -10px rgba(214,0,110,.8), inset 0 1px 0 rgba(255,255,255,.36) !important;
  text-shadow:none !important;
}
html body .btn.btn-primary:hover{
  background-image:linear-gradient(135deg,#FF42A0 0%,#F5148A 45%,#E00073 100%) !important;
}

/* 筛选/分类选中态（收银台「全部」、数据页「较昨日」等） */
html body body[data-theme="liquid"] .df-chip.on,
html body body[data-theme] .df-chip.on,
html body .seg-item.on,
html body .chip.on,
html body .pos-cat-bar .chip.on,
html body .filter-bar .chip.on,
html body .mk-tabs .on,
html body .tab.on{
  background:linear-gradient(135deg,#FF2D8A 0%,#D6006E 100%) !important;
  border-color:transparent !important;
  color:#fff !important;
  font-weight:800;
  box-shadow:0 6px 16px -10px rgba(214,0,110,.8) !important;
}


/* ===== v1628 只针对「液态玻璃」：所有原本红色的按钮 → 深色水晶（和确认收款同款） ===== */
html body[data-theme="liquid"] .btn.btn-red,
html body[data-theme="liquid"] .btn.btn-primary.btn-red,
html body[data-theme="liquid"] .btn-red,
html body[data-theme="liquid"] #pos-submit,
html body[data-theme="liquid"] .pl-owe,
html body[data-theme="liquid"] .pl-owe:disabled,
html body[data-theme="liquid"] .m-rch,
html body[data-theme="liquid"] button[data-mp-recharge]{
  background-color:#16202E !important;
  background-image:radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(43,60,86,.96) 0%, rgba(16,24,38,.96) 55%, rgba(9,14,24,.98) 100%) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  color:#f8fafc !important;
  box-shadow:0 18px 34px -18px rgba(56,189,248,.55), 0 6px 16px -8px rgba(8,15,28,.85),
             inset 0 1px 0 rgba(255,255,255,.34) !important;
  text-shadow:none !important;
}
html body[data-theme="liquid"] .btn.btn-red:hover,
html body[data-theme="liquid"] #pos-submit:hover{
  background-image:radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(43,60,86,.96) 0%, rgba(16,24,38,.96) 55%, rgba(9,14,24,.98) 100%) !important;
  filter:brightness(1.08);
}


/* ===== v1630 液态玻璃：主按钮（刷新/查询等）也统一深色水晶 ===== */
html body[data-theme="liquid"] .btn.btn-primary,
html body[data-theme="liquid"] .btn-primary,
html body[data-theme="liquid"] .btn.btn-primary:hover,
html body[data-theme="liquid"] .btn-primary:hover{
  background-color:#16202E !important;
  background-image:radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(43,60,86,.96) 0%, rgba(16,24,38,.96) 55%, rgba(9,14,24,.98) 100%) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  color:#f8fafc !important;
  box-shadow:0 18px 34px -18px rgba(56,189,248,.55), 0 6px 16px -8px rgba(8,15,28,.85),
             inset 0 1px 0 rgba(255,255,255,.34) !important;
  text-shadow:none !important;
}
/* 选中态（全部/较昨日等）保持深色，不用玫红 */
html body[data-theme="liquid"] .df-chip.on,
html body[data-theme="liquid"] .seg-item.on,
html body[data-theme="liquid"] .chip.on,
html body[data-theme="liquid"] .pos-cat-bar .chip.on,
html body[data-theme="liquid"] .filter-bar .chip.on{
  background:#16202E !important;
  background-image:linear-gradient(180deg,#243349,#141C28) !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#fff !important;
  box-shadow:0 8px 18px -12px rgba(8,15,28,.9) !important;
}


/* ===== v1631 液态玻璃：会员筛选/工具条里的选中态也统一深色 ===== */
html body[data-theme="liquid"] .mem-fchip.on,
html body[data-theme="liquid"] .mem-fchip.active,
html body[data-theme="liquid"] .mem-toolbar .on,
html body[data-theme="liquid"] .mem-toolbar .active,
html body[data-theme="liquid"] [class*="fchip"].on,
html body[data-theme="liquid"] [class*="-chip"].on,
html body[data-theme="liquid"] .mk-tabs .on{
  background-color:#16202E !important;
  background-image:linear-gradient(180deg,#243349,#141C28) !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#fff !important;
  box-shadow:0 8px 18px -12px rgba(8,15,28,.9) !important;
}


/* ===== v1633 液态玻璃：工资表「欠款」按钮也是深色（最高优先级兜底） ===== */
html body[data-theme="liquid"] td.pl-acts .pl-owe,
html body[data-theme="liquid"] td.pl-acts .pl-owe:disabled,
html body[data-theme="liquid"] .table td.pl-acts .pl-owe,
html body[data-theme="liquid"] .table td.pl-acts .pl-owe:disabled,
html body[data-theme="liquid"] .pl-owe,
html body[data-theme="liquid"] .pl-owe:disabled{
  background-color:#16202E !important;
  background-image:linear-gradient(180deg,#243349,#141C28) !important;
  border:1px solid rgba(255,255,255,.2) !important;
  color:#f8fafc !important;
  box-shadow:0 6px 16px -10px rgba(8,15,28,.9) !important;
}


/* ===== v1634 液态玻璃：次要按钮（明细/调整/取消）去掉白色底，只留描边 ===== */
html body[data-theme="liquid"] .btn.btn-ghost,
html body[data-theme="liquid"] .btn-ghost,
html body[data-theme="liquid"] .btn.btn-line,
html body[data-theme="liquid"] .pl-acts .btn.btn-ghost{
  background-color:transparent !important;
  background-image:none !important;
  border:1px solid rgba(15,23,42,.16) !important;
  color:#243350 !important;
  box-shadow:none !important;
}
html body[data-theme="liquid"] .btn.btn-ghost:hover,
html body[data-theme="liquid"] .btn-ghost:hover{
  background-color:rgba(255,255,255,.45) !important;
  border-color:rgba(15,23,42,.24) !important;
}




/* ===== v1637 液态玻璃：只有「新增/记一笔/确认收款」是玫红，其余主按钮（查询/刷新等）保持深色 ===== */
html body[data-theme="liquid"] .btn.btn-primary,
html body[data-theme="liquid"] .btn-primary{
  background-color:#16202E !important;
  background-image:radial-gradient(130% 80% at 50% -30%, rgba(255,255,255,.5), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(43,60,86,.96) 0%, rgba(16,24,38,.96) 55%, rgba(9,14,24,.98) 100%) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  color:#f8fafc !important;
  box-shadow:0 18px 34px -18px rgba(56,189,248,.55), 0 6px 16px -8px rgba(8,15,28,.85),
             inset 0 1px 0 rgba(255,255,255,.34) !important;
  text-shadow:none !important;
}
/* 三个关键操作单独指定玫红（id 优先级更高） */
html body[data-theme="liquid"] #pos-submit,
html body[data-theme="liquid"] #member-add,
html body[data-theme="liquid"] #exp-add,
html body[data-theme="liquid"] #pos-submit:hover,
html body[data-theme="liquid"] #member-add:hover,
html body[data-theme="liquid"] #exp-add:hover{
  background-color:#D6006E !important;
  background-image:linear-gradient(135deg,#FF2D8A 0%,#EE0A78 45%,#D6006E 100%) !important;
  border:1px solid rgba(255,255,255,.26) !important;
  color:#fff !important;
  box-shadow:0 10px 24px -12px rgba(214,0,110,.85), inset 0 1px 0 rgba(255,255,255,.36) !important;
}


/* ===== v1638 液态玻璃：主操作按钮（新增/记一笔/确认收款/充值/续次）统一玫红 ===== */
html body[data-theme="liquid"] .cta-mag,
html body[data-theme="liquid"] button.cta-mag,
html body[data-theme="liquid"] .btn.cta-mag{
  background-color:#D6006E !important;
  background-image:linear-gradient(135deg,#FF2D8A 0%,#EE0A78 45%,#D6006E 100%) !important;
  border:1px solid rgba(255,255,255,.26) !important;
  color:#fff !important;
  box-shadow:0 10px 24px -12px rgba(214,0,110,.85), inset 0 1px 0 rgba(255,255,255,.36) !important;
  text-shadow:none !important;
}
html body[data-theme="liquid"] .cta-mag:hover{filter:brightness(1.06);}


/* ===== v1641 会员等级弹窗：一排 3 张卡 + 文字加大 ===== */
.ml-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:16px !important;
}
@media (max-width: 1100px){ .ml-grid{ grid-template-columns:repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 760px){ .ml-grid{ grid-template-columns:1fr !important; } }

/* 卡面文字：等级名居中加粗变大，VIP 也放大 */
.ml-card-face .mlc-top{font-size:13px !important;font-weight:600;opacity:.92;}
.ml-card-face .mlc-mid{
  font-size:44px !important;
  font-weight:800 !important;
  letter-spacing:3px;
  line-height:1.05;
  margin:2px 0 0;
  text-align:center;
}
.ml-card-face .mlc-name{
  font-size:23px !important;
  font-weight:900 !important;
  letter-spacing:1px;
  text-align:center;
  margin:2px 0 4px;
  text-shadow:0 2px 8px rgba(0,0,0,.18);
}
.ml-card-face .mlc-bot{font-size:13.5px !important;font-weight:600;}

/* 卡下方的信息行也加大 */
.ml-card-face ~ * , .ml-item, .ml-info{font-size:14px;}


/* ===== v1642 会员等级弹窗：真正加宽到 1120，卡片不再被压扁 ===== */
.modal-mask .modal:has(#ml-list){
  width:min(1120px, 94vw) !important;
  max-width:min(1120px, 94vw) !important;
  min-width:min(1120px, 94vw) !important;
}
.modal-mask .modal:has(#ml-list) .modal-body{
  max-height:calc(100vh - 180px);
  overflow-y:auto;
}
.ml-grid .ml-card-face{min-height:150px;}
.ml-grid > div{min-width:0;}
/* 卡片内的信息行：横向排布，不再逐字换行 */
.ml-grid .ml-info-row,
.ml-grid .ml-meta{
  display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13.5px;white-space:nowrap;
}


/* ===== v1643 会员等级弹窗缩回正常尺寸，卡片同步缩小 ===== */
.modal-mask .modal:has(#ml-list){
  width:min(880px, 92vw) !important;
  max-width:min(880px, 92vw) !important;
  min-width:auto !important;
}
.ml-grid{gap:12px !important;}
.ml-card-face{min-height:112px !important;padding:12px 14px !important;}
.ml-card-face .mlc-top{font-size:11.5px !important;}
.ml-card-face .mlc-mid{font-size:30px !important;letter-spacing:2px !important;margin:0 !important;}
.ml-card-face .mlc-name{font-size:17.5px !important;font-weight:800 !important;margin:0 0 2px !important;}
.ml-card-face .mlc-bot{font-size:11.5px !important;}
.ml-grid .ml-info-row,
.ml-grid .ml-meta{font-size:12.5px !important;gap:4px 10px !important;}


/* ===== v1644 会员等级弹窗再小一档 ===== */
.modal-mask .modal:has(#ml-list){
  width:min(800px, 90vw) !important;
  max-width:min(800px, 90vw) !important;
}
.ml-grid{gap:10px !important;}
.ml-card-face{min-height:100px !important;padding:10px 12px !important;}
.ml-card-face .mlc-mid{font-size:26px !important;}
.ml-card-face .mlc-name{font-size:16px !important;}
.ml-card-face .mlc-top,.ml-card-face .mlc-bot{font-size:11px !important;}
.ml-item-info{font-size:12px !important;gap:2px 8px !important;}
.ml-item-info b{font-size:12.5px !important;}


/* ===== v1645 「每次扣次的员工分成（销卡）」标签高亮 ===== */
label.ml-label-hl{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:8px;
  background:linear-gradient(135deg,#FF2D8A,#D6006E) !important;
  color:#fff !important;
  font-weight:800 !important;
  font-size:13.5px !important;
  letter-spacing:.3px;
  box-shadow:0 6px 16px -10px rgba(214,0,110,.9);
  margin-bottom:8px;
}


/* ===== v1646 高亮标签强制白字 + 字号 ===== */
label#ml-usesplit-label.ml-label-hl,
.field label#ml-usesplit-label,
.modal label#ml-usesplit-label{
  background:linear-gradient(135deg,#FF2D8A,#D6006E) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:13.5px !important;
  font-weight:800 !important;
  padding:5px 12px !important;
  border-radius:8px !important;
  display:inline-block !important;
  margin-bottom:8px !important;
  box-shadow:0 6px 16px -10px rgba(214,0,110,.9) !important;
}


/* ===== v1647 会员等级编辑表单：输入框加描边，和背景分得清 ===== */
.modal-mask .modal:has(#ml-list) .input,
.modal-mask .modal:has(#ml-list) .select,
.modal-mask .modal:has(#ml-list) input[type="number"],
.modal-mask .modal:has(#ml-list) input[type="text"]{
  background:#ffffff !important;
  border:1.5px solid #c7d2e0 !important;
  border-radius:10px !important;
  color:#0f172a !important;
  box-shadow:0 1px 2px rgba(15,23,42,.06) !important;
}
.modal-mask .modal:has(#ml-list) .input:focus,
.modal-mask .modal:has(#ml-list) .select:focus{
  border-color:#D6006E !important;
  box-shadow:0 0 0 3px rgba(214,0,110,.14) !important;
}
.modal-mask .modal:has(#ml-list) .field label{
  color:#334155 !important;font-weight:600;
}


/* ===== v1652 积分卡：CSS 强制隐藏与充值/提成相关的字段 ===== */
#ml-form-wrap.points-card #ml-openfield,
#ml-form-wrap.points-card #ml-rr-row,
#ml-form-wrap.points-card #ml-giftrow,
#ml-form-wrap.points-card #ml-deptcomm-wrap{
  display:none !important;
}
#ml-form-wrap.points-card #ml-bonusfield{display:block !important;}
#ml-form-wrap.points-card #ml-bonusfield label{font-weight:700 !important;color:#0f172a !important;}


/* ===== v1653 会员等级编辑：所有格子统一「标签左 / 输入右」，上下紧凑对齐 ===== */
#ml-form-wrap .form-row{
  display:block !important;
  margin:0 !important;
}
#ml-form-wrap .field{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 0 8px !important;
}
#ml-form-wrap .field > label{
  flex:0 0 118px !important;
  text-align:right !important;
  margin:0 !important;
  font-size:12.5px !important;
  line-height:1.35 !important;
  color:#334155 !important;
}
#ml-form-wrap .field > .input,
#ml-form-wrap .field > .select,
#ml-form-wrap .field > input,
#ml-form-wrap .field > select,
#ml-form-wrap .field > textarea,
#ml-form-wrap .field > div{
  flex:1 1 auto !important;
  min-width:0 !important;
}
#ml-form-wrap .field > textarea{min-height:64px !important;}
#ml-form-wrap .field > label + div{flex:1 1 auto;}
/* 图片选择那一行保持左标签 */
#ml-form-wrap .field > input[type="file"]{flex:0 0 auto !important;}


/* ===== v1654 修正：只有「标签+单个控件」的格子才横排；积分卡隐藏扣次分成块 ===== */
#ml-form-wrap.points-card #ml-usesplit-wrap{display:none !important;}

#ml-form-wrap .field:has(> .input),
#ml-form-wrap .field:has(> .select),
#ml-form-wrap .field:has(> textarea),
#ml-form-wrap .field:has(> input[type="number"]),
#ml-form-wrap .field:has(> input[type="text"]){
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 0 8px !important;
}
/* 其余复杂块保持纵向布局，不被压扁 */
#ml-form-wrap .field:not(:has(> .input)):not(:has(> .select)):not(:has(> textarea)){
  display:block !important;
}
#ml-form-wrap .ml-usegrid{width:100% !important;}


/* ===== v1655 开卡奖励：标签在左、输入框在右，与其它行对齐 ===== */
#ml-form-wrap #ml-bonusfield,
#ml-form-wrap.points-card #ml-bonusfield{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 0 8px !important;
}
#ml-form-wrap #ml-bonusfield > label{
  flex:0 0 118px !important;
  text-align:right !important;
  margin:0 !important;
  font-size:12.5px !important;
  color:#334155 !important;
  font-weight:600 !important;
}
#ml-form-wrap #ml-bonusfield > .input{
  flex:1 1 auto !important;
  min-width:0 !important;
}




/* ===== 表格自适应：一套规则管全站，窄窗口横向滚动，不挤压不遮挡 ===== */
.table-wrap{
  overflow-x:auto !important;
  overflow-y:visible !important;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
}
.table{
  width:100% !important;
  min-width:0 !important;
  table-layout:auto !important;
}
/* 单元格默认允许换行，长文字不撑破 */
.table th,
.table td{
  white-space:normal;
  word-break:break-word;
  padding:11px 10px;
  vertical-align:middle;
}
/* 操作列：内容一行放下，按钮不缩、不压字 */
.table th:last-child,
.table td:last-child{
  white-space:nowrap !important;
  width:auto;
  min-width:max-content;
  padding-left:14px;
}
.table td:last-child .btn,
.table td:last-child button{
  flex:none !important;
  white-space:nowrap !important;
  display:inline-flex;
  align-items:center;
  margin:0 0 0 6px;
}
.table td:last-child .btn:first-child,
.table td:last-child button:first-child{margin-left:0;}
/* 原本右侧固定列（sticky）必须有实底，否则下面文字会透出来 */
.table td:last-child,
.table th:last-child{
  position:sticky;
  right:0;
  background:#fff;
  z-index:2;
  box-shadow:-8px 0 12px -10px rgba(15,23,42,.28);
}
html body[data-theme="liquid"] .table td:last-child,
html body[data-theme="liquid"] .table th:last-child{
  background:#f6f9fd;
}
.table tbody tr:hover td:last-child{background:#eef4fb;}


/* ===== v1669 表格终极规则：内容宽就横向滚动，绝不压缩、绝不换行、绝不遮挡 ===== */
.table-wrap{
  overflow-x:auto !important;
  overflow-y:visible !important;
  max-width:100%;
}
.table{
  width:100% !important;
  min-width:max-content !important;
  table-layout:auto !important;
}
.table th,
.table td{
  white-space:nowrap !important;
  word-break:normal !important;
  padding:11px 12px !important;
  vertical-align:middle;
}
/* 只允许「说明 / 备注 / 项目」这类长文本换行 */
.table td.wrap-cell,
.table td[data-wrap]{white-space:normal !important;min-width:220px;}
/* 操作列：按钮永远完整可见 */
.table th:last-child,
.table td:last-child{
  white-space:nowrap !important;
  width:auto !important;
  min-width:max-content !important;
  padding-left:16px !important;
}
.table td:last-child .btn,
.table td:last-child button{
  display:inline-flex !important;
  align-items:center;
  flex:none !important;
  white-space:nowrap !important;
  margin:0 0 0 8px !important;
}
.table td:last-child .btn:first-child,
.table td:last-child button:first-child{margin-left:0 !important;}
/* 右侧固定列必须有实底，避免底下文字透出来 */
.table th:last-child,
.table td:last-child{
  position:sticky;
  right:0;
  background:#fff;
  z-index:3;
  box-shadow:-10px 0 14px -12px rgba(15,23,42,.3);
}
html body[data-theme="liquid"] .table th:last-child,
html body[data-theme="liquid"] .table td:last-child{background:#f7fafd;}
.table tbody tr:hover td:last-child{background:#eff5fc;}


/* ===== v1670 窄窗口自动缩小字号与间距，尽量一屏放下 ===== */
@media (max-width: 1280px){
  .table th, .table td{padding:9px 9px !important;font-size:12.5px !important;}
  .table td .btn, .table td button{padding:5px 10px !important;font-size:12px !important;}
  .table td:last-child .btn{margin-left:6px !important;}
}
@media (max-width: 1080px){
  .table th, .table td{padding:8px 7px !important;font-size:12px !important;}
  .table td .btn, .table td button{padding:4px 8px !important;font-size:11.5px !important;}
  .table td:last-child .btn{margin-left:5px !important;}
}


/* ===== v1671 取消右侧固定列：任何窗口都不再遮挡内容，窄了就是横向滚动 ===== */
.table th:last-child,
.table td:last-child{
  position:static !important;
  right:auto !important;
  box-shadow:none !important;
  background:transparent !important;
  z-index:auto !important;
}
.table tbody tr:hover td:last-child{background:transparent !important;}
html body[data-theme="liquid"] .table th:last-child,
html body[data-theme="liquid"] .table td:last-child{background:transparent !important;}


/* ===== 会员详情：右侧操作区（主操作一行 + 专属码 + 竖排次操作） ===== */
.mdb-acts{
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  align-items:stretch !important;
  min-width:300px;
}
.md-acts-main{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;}
.md-acts-bottom{display:flex;gap:10px;align-items:stretch;}
.md-act-list{display:flex;flex-direction:column;gap:6px;flex:0 0 118px;}
.md-act-list .btn{width:100%;justify-content:center;}
.md-qr-box{
  flex:1 1 auto;min-width:150px;
  border:1px dashed var(--line,#dbe3ee);border-radius:12px;
  padding:8px;display:flex;flex-direction:column;align-items:center;gap:4px;
  background:rgba(255,255,255,.55);cursor:pointer;transition:.15s;
}
.md-qr-box:hover{border-color:#D6006E;background:rgba(255,45,138,.05);}
.md-qr-hd{font-size:11.5px;font-weight:800;color:#334155;}
.md-qr-ph{
  width:96px;height:96px;border-radius:8px;background:#f1f5f9;
  display:flex;align-items:center;justify-content:center;
  font-size:11.5px;color:#94a3b8;text-align:center;line-height:1.3;padding:4px;
}
.md-qr-ph img{width:96px;height:96px;border-radius:8px;background:#fff;}
.md-qr-tip{font-size:10.5px;color:#94a3b8;text-align:center;line-height:1.35;}
@media (max-width: 1100px){
  .md-acts-bottom{flex-direction:row;}
  .md-qr-box{min-width:130px;}
}


/* ===================================================================
   柔雾（blush）· 整体改版：雾粉底色 + 玫瑰主色 + 玻璃白卡
   只作用于 body[data-theme="blush"]，其他皮肤不受影响
   =================================================================== */
body[data-theme="blush"]{
  --primary:#D9738E;
  --primary-dark:#B85470;
  --primary-light:#FDEEF3;
  --accent:#D9738E;
  --teal:#C79A5B;
  --brand:#D9738E;
  --ink:#2E2630;
  --ink-2:#4E4149;
  --ink-3:#8A7A85;
  --muted:#9C8C96;
  --line:#EFE1E7;
  --line2:#F3E7EC;

  background-color:#FBF5F8 !important;
  background-image:
    radial-gradient(95% 60% at 2% -6%, #FDE7EE 0%, rgba(253,231,238,0) 62%),
    radial-gradient(85% 55% at 100% 4%, #FDEFE3 0%, rgba(253,239,227,0) 58%),
    radial-gradient(90% 60% at 50% 108%, #EFE8FA 0%, rgba(239,232,250,0) 60%),
    linear-gradient(170deg,#FDF7FA 0%,#FAF3F5 46%,#F4F1F9 100%) !important;
  background-size:auto !important;
  background-repeat:no-repeat !important;
  background-position:center top !important;
  background-attachment:fixed !important;
  color:var(--ink);
}

/* ---- 外壳与内容区 ---- */
html body[data-theme="blush"] .content,
html body[data-theme="blush"] #view,
html body[data-theme="blush"] #shell-view,
html body[data-theme="blush"] .home-body,
html body[data-theme="blush"] .main,
html body[data-theme="blush"] .page-wrap{
  background:transparent !important;
}
html body[data-theme="blush"] .pg{background:transparent !important;}

/* ---- 侧边栏：雾粉浅色 ---- */
html body[data-theme="blush"] .sidebar,
html body[data-theme="blush"] aside.sidebar{
  background:linear-gradient(180deg,#FDF2F6 0%,#F9EBF1 52%,#F5E7EF 100%) !important;
  border-right:1px solid #EFDDE6 !important;
  box-shadow:2px 0 18px -12px rgba(190,120,145,.45) !important;
}
html body[data-theme="blush"] .sidebar::after{
  background:linear-gradient(90deg,rgba(217,115,142,.55),rgba(199,154,91,.35),rgba(167,139,250,.25)) !important;
  opacity:.9 !important;
}
html body[data-theme="blush"] .brand,
html body[data-theme="blush"] .logo-text,
html body[data-theme="blush"] .sb-store{color:#6B4A55 !important;}
html body[data-theme="blush"] .nav a{
  color:#6B4A55 !important;border-radius:10px !important;
  transition:background .15s,color .15s,transform .15s !important;
}
html body[data-theme="blush"] .nav a:hover{
  color:#8E3A55 !important;
  background:linear-gradient(90deg,rgba(217,115,142,.16),rgba(217,115,142,.04)) !important;
}
html body[data-theme="blush"] .nav a.active{
  background:linear-gradient(135deg,#E48CA4 0%,#D9738E 55%,#C4607C 100%) !important;
  color:#fff !important;
  box-shadow:0 8px 18px -10px rgba(196,96,124,.85) !important;
}
html body[data-theme="blush"] .nav a::before,
html body[data-theme="blush"] .nav a.active::before{
  background:linear-gradient(180deg,#F5C6D3,#D9738E) !important;
}
html body[data-theme="blush"] .nav .badge,
html body[data-theme="blush"] .nav a .cnt{background:#D9738E !important;color:#fff !important;}

/* ---- 卡片 ---- */
html body[data-theme="blush"] .card,
html body[data-theme="blush"] .stat-card,
html body[data-theme="blush"] .panel,
html body[data-theme="blush"] .box,
html body[data-theme="blush"] .m-card{
  background:rgba(255,255,255,.9) !important;
  border:1px solid #F0E2E8 !important;
  border-radius:14px !important;
  box-shadow:0 8px 22px -18px rgba(160,110,130,.55) !important;
}
html body[data-theme="blush"] .card-title,
html body[data-theme="blush"] .page-title,
html body[data-theme="blush"] h1,html body[data-theme="blush"] h2,
html body[data-theme="blush"] h3{color:#2E2630 !important;}
html body[data-theme="blush"] .muted,
html body[data-theme="blush"] .sub,
html body[data-theme="blush"] .hint{color:#9C8C96 !important;}

/* ---- 按钮 ---- */
html body[data-theme="blush"] .btn-primary,
html body[data-theme="blush"] .btn-red{
  background:linear-gradient(180deg,#E68CA6 0%,#D9738E 52%,#C4607C 100%) !important;
  border:1px solid rgba(255,255,255,.5) !important;
  color:#fff !important;
  box-shadow:0 8px 18px -12px rgba(196,96,124,.9), inset 0 1px 0 rgba(255,255,255,.45) !important;
}
html body[data-theme="blush"] .btn-primary:hover,
html body[data-theme="blush"] .btn-red:hover{filter:brightness(1.05) !important;}
html body[data-theme="blush"] .btn-ghost,
html body[data-theme="blush"] .btn-line{
  background:#fff !important;
  border:1px solid #E8D3DC !important;
  color:#6B4A55 !important;
  box-shadow:0 2px 6px rgba(160,110,130,.08) !important;
}
html body[data-theme="blush"] .btn-ghost:hover{
  border-color:#D9738E !important;color:#B85470 !important;background:#FFF7FA !important;
}
html body[data-theme="blush"] .btn-teal{
  background:linear-gradient(180deg,#D8AE79,#C79A5B) !important;color:#fff !important;border:0 !important;
}

/* ---- 表单 ---- */
html body[data-theme="blush"] .input,
html body[data-theme="blush"] .select,
html body[data-theme="blush"] .textarea,
html body[data-theme="blush"] input[type="text"],
html body[data-theme="blush"] input[type="number"],
html body[data-theme="blush"] input[type="date"],
html body[data-theme="blush"] input[type="search"]{
  background:#fff !important;
  border:1px solid #EAD7DF !important;
  color:#2E2630 !important;
  border-radius:10px !important;
}
html body[data-theme="blush"] .input:focus,
html body[data-theme="blush"] .select:focus,
html body[data-theme="blush"] .textarea:focus{
  border-color:#D9738E !important;
  box-shadow:0 0 0 3px rgba(217,115,142,.16) !important;
  outline:none !important;
}
html body[data-theme="blush"] .field label{color:#6B4A55 !important;}

/* ---- 筛选项 ---- */
html body[data-theme="blush"] .chip,
html body[data-theme="blush"] .m-chip,
html body[data-theme="blush"] .mem-fchip{
  background:#fff !important;border:1px solid #EAD7DF !important;color:#6B4A55 !important;
}
html body[data-theme="blush"] .chip.active,
html body[data-theme="blush"] .m-chip.on,
html body[data-theme="blush"] .mem-fchip.on{
  background:linear-gradient(135deg,#E48CA4,#C4607C) !important;
  border-color:transparent !important;color:#fff !important;font-weight:600 !important;
  box-shadow:0 6px 14px -10px rgba(196,96,124,.9) !important;
}

/* ---- 表格 ---- */
html body[data-theme="blush"] .table thead th{
  background:linear-gradient(180deg,#FDF3F7,#FAECF2) !important;
  color:#6B4A55 !important;border-bottom:1px solid #F0DFE7 !important;
}
html body[data-theme="blush"] .table tbody td{color:#3A3138 !important;border-bottom:1px solid #F7EDF1 !important;}
html body[data-theme="blush"] .table tbody tr:hover td{background:#FFF8FB !important;}
html body[data-theme="blush"] .table td.num,
html body[data-theme="blush"] .table .num{color:#B85470 !important;font-weight:700;}

/* ---- 状态徽标 ---- */
html body[data-theme="blush"] .badge-ok{background:#F1F8F3 !important;color:#3F7D5B !important;}
html body[data-theme="blush"] .badge-warn{background:#FDF3E3 !important;color:#9A6B22 !important;}
html body[data-theme="blush"] .badge-danger{background:#FCE9EF !important;color:#A8385A !important;}
html body[data-theme="blush"] .badge-gray,
html body[data-theme="blush"] .badge{background:#F6EEF2 !important;color:#7A6772 !important;}

/* ---- 统计卡（KPI） ---- */
html body[data-theme="blush"] .mdx-stat,
html body[data-theme="blush"] .ex-kpi,
html body[data-theme="blush"] .sh-kpi{
  background:#fff !important;border:1px solid #F0E2E8 !important;border-radius:14px !important;
}
html body[data-theme="blush"] .mdx-stat .vl,
html body[data-theme="blush"] .ex-kpi .val{color:#B85470 !important;}

/* ---- 顶部工具条 / 标签页 ---- */
html body[data-theme="blush"] .filter-bar,
html body[data-theme="blush"] .toolbar,
html body[data-theme="blush"] .mem-toolbar{
  background:rgba(255,255,255,.72) !important;border:1px solid #F2E4EA !important;border-radius:12px !important;
}
html body[data-theme="blush"] .md-tab2,
html body[data-theme="blush"] .tab{
  color:#7A6772 !important;
}
html body[data-theme="blush"] .md-tab2.on,
html body[data-theme="blush"] .md-tab2.active,
html body[data-theme="blush"] .tab.on{
  color:#B85470 !important;border-color:#D9738E !important;font-weight:700 !important;
  background:#FFF3F8 !important;
}

/* ---- 弹窗 ---- */
html body[data-theme="blush"] .modal-mask{background:rgba(70,50,60,.35) !important;backdrop-filter:blur(3px);}
html body[data-theme="blush"] .modal{
  background:linear-gradient(180deg,#FFFFFF 0%,#FEFAFB 100%) !important;
  border:1px solid #F0E2E8 !important;
  box-shadow:0 26px 60px -34px rgba(120,70,90,.55) !important;
}
html body[data-theme="blush"] .modal-head,
html body[data-theme="blush"] .modal-title{color:#2E2630 !important;border-bottom:1px solid #F5E9EE !important;}

/* ---- 首页 ---- */
html body[data-theme="blush"] .home-hero{
  background:
    radial-gradient(115% 76% at 6% -10%, #F8B9CB 0%, rgba(248,185,203,0) 58%),
    radial-gradient(100% 68% at 94% 0%, #F6D9B0 0%, rgba(246,217,176,0) 55%),
    linear-gradient(160deg,#F7C5D2 0%,#E79BAE 55%,#D47F96 100%) !important;
  box-shadow:0 18px 38px -24px rgba(180,110,130,.75) !important;
}
html body[data-theme="blush"] .hm-cell .hm-ico{
  background:linear-gradient(155deg,#FDF1F5 0%,#F8E3EB 55%,#F2D6E1 100%) !important;
  color:#B85470 !important;
}
html body[data-theme="blush"] .hm-cell .hm-ico svg{color:#B85470 !important;}
html body[data-theme="blush"] .hm-cell span{color:#4E4149 !important;}

/* ---- 收银台 ---- */
html body[data-theme="blush"] .svc-card,
html body[data-theme="blush"] .svc-mini{
  background:#fff !important;border:1px solid #F0E2E8 !important;border-radius:12px !important;
  box-shadow:0 6px 16px -14px rgba(160,110,130,.6) !important;
}
html body[data-theme="blush"] .svc-card:hover,
html body[data-theme="blush"] .svc-mini:hover{border-color:#E4B7C6 !important;}
html body[data-theme="blush"] .svc-card-price,
html body[data-theme="blush"] .svc-mini-meta b{color:#C4607C !important;}
html body[data-theme="blush"] .pos-right,
html body[data-theme="blush"] .pos-cart-drawer{
  background:rgba(255,255,255,.94) !important;border:1px solid #F0E2E8 !important;
}
html body[data-theme="blush"] .pos-submit-row .btn-primary{
  background:linear-gradient(180deg,#E68CA6,#C4607C 100%) !important;
}


/* ===== 柔雾 · 第二轮打磨：KPI 卡、操作列、CTA 按钮统一玫瑰色系 ===== */
html body[data-theme="blush"] .ms-card.ms-b1{
  background:linear-gradient(135deg,#F2A7BC 0%,#D9738E 60%,#C4607C 100%) !important;
  color:#fff !important;box-shadow:0 10px 24px -16px rgba(196,96,124,.9) !important;
}
html body[data-theme="blush"] .ms-card.ms-b2{
  background:linear-gradient(135deg,#9FC7B4 0%,#6FA98F 60%,#4F8A72 100%) !important;
  color:#fff !important;box-shadow:0 10px 24px -16px rgba(79,138,114,.85) !important;
}
html body[data-theme="blush"] .ms-card.ms-b3{
  background:linear-gradient(135deg,#F3C99B 0%,#DFA467 60%,#C5864A 100%) !important;
  color:#fff !important;box-shadow:0 10px 24px -16px rgba(197,134,74,.85) !important;
}
html body[data-theme="blush"] .ms-card::after{background:rgba(255,255,255,.16) !important;}

/* 主操作按钮（新增/充值/记一笔/确认收款）：改成玫瑰，不再用洋红 */
html body[data-theme="blush"] .cta-mag,
html body[data-theme="blush"] button.cta-mag{
  background-color:#D9738E !important;
  background-image:linear-gradient(135deg,#E68CA6 0%,#D9738E 50%,#C4607C 100%) !important;
  border:1px solid rgba(255,255,255,.5) !important;
  color:#fff !important;
  box-shadow:0 8px 18px -12px rgba(196,96,124,.9), inset 0 1px 0 rgba(255,255,255,.4) !important;
}

/* 表格固定列/操作列的浅蓝底 → 雾粉白 */
html body[data-theme="blush"] .table th:last-child,
html body[data-theme="blush"] .table td:last-child{
  background:#FBEEF3 !important;
  box-shadow:-8px 0 12px -10px rgba(190,120,145,.35) !important;
}
html body[data-theme="blush"] .table tbody tr:hover td:last-child{background:#F7E2EA !important;}

/* 欠款/深色按钮：柔雾里改成深玫瑰，避免突兀的黑 */
html body[data-theme="blush"] td.pl-acts .pl-owe,
html body[data-theme="blush"] .pl-owe,
html body[data-theme="blush"] .pl-owe:disabled{
  background-color:#8E5470 !important;
  background-image:linear-gradient(180deg,#A26683 0%,#8E5470 55%,#77415B 100%) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  color:#fff !important;
}
/* 发放（金色）保持但柔和一点 */
html body[data-theme="blush"] .pl-pay,
html body[data-theme="blush"] .btn-gold{
  background:linear-gradient(180deg,#E5BC86,#C79A5B) !important;color:#4A3418 !important;border:0 !important;
}


/* ===== 柔雾 · 第三轮：收款渠道条统一玫瑰色阶 + 主操作按钮改玫瑰 ===== */
html body[data-theme="blush"] .ch-card.ch-cash{
  background:linear-gradient(135deg,#E7B47A,#D29A57) !important;}
html body[data-theme="blush"] .ch-card.ch-wechat{
  background:linear-gradient(135deg,#8FBF9F,#6FA98F) !important;}
html body[data-theme="blush"] .ch-card.ch-alipay{
  background:linear-gradient(135deg,#9DB4D8,#7B96C4) !important;}
html body[data-theme="blush"] .ch-card.ch-groupon{
  background:linear-gradient(135deg,#EFA9A0,#DC8A80) !important;}
html body[data-theme="blush"] .ch-card.ch-recharge{
  background:linear-gradient(135deg,#C2A4D8,#A785C4) !important;}
html body[data-theme="blush"] .ch-card.ch-takeout{
  background:linear-gradient(135deg,#8EB8B0,#6FA098) !important;}

/* 三个关键操作按钮：柔雾下用玫瑰，不用洋红 */
html body[data-theme="blush"] #member-add,
html body[data-theme="blush"] #exp-add,
html body[data-theme="blush"] #pos-submit,
html body[data-theme="blush"] #member-add:hover,
html body[data-theme="blush"] #exp-add:hover,
html body[data-theme="blush"] #pos-submit:hover{
  background-color:#D9738E !important;
  background-image:linear-gradient(135deg,#E68CA6 0%,#D9738E 50%,#C4607C 100%) !important;
  border:1px solid rgba(255,255,255,.5) !important;
  color:#fff !important;
  box-shadow:0 10px 22px -14px rgba(196,96,124,.95), inset 0 1px 0 rgba(255,255,255,.42) !important;
}

/* 顶部 hero（今日数据头部）与刷新按钮 */
html body[data-theme="blush"] .dh-hero,
html body[data-theme="blush"] .today-head{
  background:linear-gradient(135deg,#FDF1F5,#FAE6EE) !important;border:1px solid #F2DFE8 !important;
}


/* ===== 收银台：单据里的项目行加卡片底色，一眼看出已加入 ===== */
body:not([data-theme]) .cart-item,
body[data-theme="classic"] .cart-item,
body[data-theme="blush"] .cart-item{
  background:linear-gradient(180deg,#FFFDFE,#FFF7FA) !important;
  border:1px solid #F1E2E8 !important;
  border-bottom:1px solid #F1E2E8 !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  margin-bottom:8px !important;
  box-shadow:0 3px 10px -8px rgba(160,110,130,.55) !important;
}
body[data-theme="blush"] .cart-item{
  background:linear-gradient(180deg,#FFFFFF,#FDF3F7) !important;
  border-color:#F3E1E9 !important;
}
body[data-theme="liquid"] .cart-item{
  background:rgba(255,255,255,.55) !important;
  border:1px solid rgba(255,255,255,.6) !important;
  border-bottom:1px solid rgba(255,255,255,.6) !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  margin-bottom:8px !important;
  backdrop-filter:blur(6px);
}
body[data-theme="ocean"] .cart-item,
body[data-theme="inkgold"] .cart-item,
body[data-theme="night"] .cart-item{
  background:rgba(255,255,255,.1) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  margin-bottom:8px !important;
}
.cart-item:last-child{margin-bottom:0 !important;}
/* 项目名加粗一点 + 金额用主色，增强"已加入"的辨识 */
.cart-item .ci-name{font-weight:700;}


/* ===== 侧栏 LOGO 旁的版本徽章（金色带框小字） ===== */
.logo{display:flex;align-items:center;gap:8px;position:relative;}
.logo .plan-badge{
  display:inline-flex;align-items:center;justify-content:center;
  height:19px;padding:0 7px;
  border:1px solid rgba(214,168,74,.85);
  border-radius:6px;
  font-size:10.5px;font-weight:700;letter-spacing:.4px;line-height:1;
  color:#F0C674;
  background:linear-gradient(180deg,rgba(214,168,74,.22),rgba(214,168,74,.08));
  box-shadow:0 0 0 1px rgba(255,215,130,.12) inset, 0 2px 6px -4px rgba(0,0,0,.6);
  white-space:nowrap;flex:none;
  transform:translateY(1px);
}
/* 浅色皮肤（柔雾/默认）用深一档的金色，保证对比 */
body[data-theme="blush"] .logo .plan-badge,
body:not([data-theme]) .logo .plan-badge,
body[data-theme="classic"] .logo .plan-badge{
  border-color:#D9A93F;
  color:#8A5E12;
  background:linear-gradient(180deg,#FDF3D8,#F8E7BC);
  box-shadow:0 1px 3px rgba(160,110,20,.22);
}
body[data-theme="blush"] .logo .plan-badge:hover{filter:brightness(1.03);}


/* ===== 软件版本徽章（旗舰版）：干净字体 + 金色立体 ===== */
.logo .plan-badge{
  display:inline-flex;align-items:center;justify-content:center;
  height:20px;padding:0 8px;
  border-radius:5px;
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",-apple-system,"Segoe UI",sans-serif;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:2.4px;
  line-height:1;
  text-indent:2.4px;
  border:1px solid rgba(198,158,66,.75);
  background:
    linear-gradient(180deg,rgba(255,238,190,.16),rgba(180,130,40,.10)),
    linear-gradient(180deg,#2b2f3a,#1b1f28);
  color:#F2D08A;
  background-clip:padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255,240,200,.28),
    inset 0 -1px 0 rgba(0,0,0,.45),
    0 2px 5px -3px rgba(0,0,0,.55);
  white-space:nowrap;flex:none;
  transform:translateY(.5px);
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
/* 浅色皮肤：白瓷底 + 烫金字 */
body[data-theme="blush"] .logo .plan-badge,
body:not([data-theme]) .logo .plan-badge,
body[data-theme="classic"] .logo .plan-badge{
  border:1px solid rgba(198,158,66,.55);
  background:linear-gradient(180deg,#FFFDF6 0%,#FBF1DA 55%,#F3E3C0 100%);
  color:#B0801F;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(176,128,31,.18),
    0 1px 3px rgba(150,110,30,.18);
}
/* 玻璃/深色皮肤：暗底 + 亮金 */
body[data-theme="liquid"] .logo .plan-badge{
  border-color:rgba(232,196,110,.6);
  background:linear-gradient(180deg,rgba(255,244,214,.14),rgba(180,140,60,.10));
  color:#F6DCA0;
}
/* 悬停时轻微提亮，不做花哨动效 */
.logo .plan-badge:hover{filter:brightness(1.06);}


/* ===== 版本徽章终版：干净无衬线 + 金色压印（浅色皮肤） ===== */
body[data-theme="blush"] .logo .plan-badge,
body:not([data-theme]) .logo .plan-badge,
body[data-theme="classic"] .logo .plan-badge{
  height:21px !important;
  padding:0 9px !important;
  border-radius:5px !important;
  border:1px solid #DCBE84 !important;
  background:linear-gradient(180deg,#FFFDF7 0%,#FBF3DF 52%,#F2E4C4 100%) !important;
  color:#A87920 !important;
  -webkit-text-fill-color:#A87920 !important;
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",-apple-system,sans-serif !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:1.6px !important;
  text-indent:1.6px !important;
  text-shadow:0 1px 0 rgba(255,255,255,.95), 0 2px 2px rgba(150,105,25,.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(176,128,31,.16),
    0 2px 4px -2px rgba(150,110,30,.28) !important;
}
/* 深色/玻璃皮肤：暗金压印 */
body[data-theme="liquid"] .logo .plan-badge{
  height:21px !important;padding:0 9px !important;border-radius:5px !important;
  border:1px solid rgba(226,190,112,.55) !important;
  background:linear-gradient(180deg,rgba(255,246,220,.12),rgba(150,110,40,.10)) !important;
  color:#F3D69B !important;
  -webkit-text-fill-color:#F3D69B !important;
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",-apple-system,sans-serif !important;
  font-size:11px !important;font-weight:800 !important;
  letter-spacing:1.6px !important;text-indent:1.6px !important;
  text-shadow:0 1px 0 rgba(0,0,0,.55), 0 0 8px rgba(226,190,112,.25) !important;
  box-shadow:inset 0 1px 0 rgba(255,240,200,.22), inset 0 -1px 0 rgba(0,0,0,.4), 0 2px 5px -3px rgba(0,0,0,.5) !important;
}


/* 提高优先级：压过 .sidebar .logo span 的深色覆盖 */
body[data-theme="blush"] .sidebar .logo span.plan-badge,
body[data-theme="classic"] .sidebar .logo span.plan-badge,
body:not([data-theme]) .sidebar .logo span.plan-badge{
  color:#A87920 !important;
  -webkit-text-fill-color:#A87920 !important;
}
body[data-theme="liquid"] .sidebar .logo span.plan-badge{
  color:#F3D69B !important;
  -webkit-text-fill-color:#F3D69B !important;
}
body[data-theme="ocean"] .sidebar .logo span.plan-badge,
body[data-theme="inkgold"] .sidebar .logo span.plan-badge,
body[data-theme="night"] .sidebar .logo span.plan-badge,
body[data-theme="plate"] .sidebar .logo span.plan-badge{
  color:#F0C674 !important;
  -webkit-text-fill-color:#F0C674 !important;
}


/* ===== 版本徽章·金箔铭牌：小一号 + 深底 + 亮金压印 ===== */
.logo .plan-badge,
body[data-theme="blush"] .sidebar .logo span.plan-badge,
body[data-theme="classic"] .sidebar .logo span.plan-badge,
body:not([data-theme]) .sidebar .logo span.plan-badge,
body[data-theme="liquid"] .sidebar .logo span.plan-badge,
body[data-theme="ocean"] .sidebar .logo span.plan-badge,
body[data-theme="inkgold"] .sidebar .logo span.plan-badge,
body[data-theme="night"] .sidebar .logo span.plan-badge{
  height:17px !important;
  min-width:0 !important;
  padding:0 6px !important;
  border-radius:4px !important;
  border:1px solid rgba(214,176,96,.85) !important;
  background:
    linear-gradient(180deg,rgba(255,231,170,.18) 0%,rgba(255,215,130,0) 42%),
    linear-gradient(180deg,#4A3A1E 0%,#33270F 52%,#241A09 100%) !important;
  color:#F3D391 !important;
  -webkit-text-fill-color:#F3D391 !important;
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",-apple-system,sans-serif !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:1.2px !important;
  text-indent:1.2px !important;
  line-height:1 !important;
  text-shadow:
    0 1px 0 rgba(255,244,214,.55),
    0 2px 3px rgba(0,0,0,.65),
    0 0 10px rgba(240,200,120,.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,236,190,.30),
    inset 0 -1px 0 rgba(0,0,0,.55),
    0 2px 6px -3px rgba(0,0,0,.6) !important;
  transform:translateY(1px);
}


/* ===== 版本徽章·字迹清晰版：正楷感、不粗、无光晕 ===== */
.logo .plan-badge,
body[data-theme="blush"] .sidebar .logo span.plan-badge,
body[data-theme="classic"] .sidebar .logo span.plan-badge,
body:not([data-theme]) .sidebar .logo span.plan-badge,
body[data-theme="liquid"] .sidebar .logo span.plan-badge,
body[data-theme="ocean"] .sidebar .logo span.plan-badge,
body[data-theme="inkgold"] .sidebar .logo span.plan-badge,
body[data-theme="night"] .sidebar .logo span.plan-badge{
  height:18px !important;
  padding:0 7px !important;
  border-radius:4px !important;
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",-apple-system,sans-serif !important;
  font-size:10.5px !important;
  font-weight:500 !important;
  letter-spacing:1.5px !important;
  text-indent:1.5px !important;
  line-height:18px !important;
  color:#F0D7A4 !important;
  -webkit-text-fill-color:#F0D7A4 !important;
  text-shadow:0 1px 0 rgba(0,0,0,.55) !important;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
  background:
    linear-gradient(180deg,rgba(255,235,180,.14) 0%,rgba(255,215,130,0) 45%),
    linear-gradient(180deg,#41320F 0%,#2C2109 55%,#1F1606 100%) !important;
  border:1px solid rgba(206,168,92,.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,236,190,.22),
    inset 0 -1px 0 rgba(0,0,0,.5),
    0 1px 3px -2px rgba(0,0,0,.55) !important;
  transform:translateY(1px);
}


/* ===== 预约卡片：左侧彩条 + 竖排状态文字（v1722） ===== */
.ag-item{position:relative;padding-left:40px !important;border:1px solid var(--line);border-left:1px solid var(--line) !important;border-radius:12px;overflow:hidden;}
.ag-item::before{content:"";position:absolute;left:0;top:0;bottom:0;width:28px;background:#cbd5e1;border-radius:11px 0 0 11px;}
.ag-item::after{content:attr(data-st);position:absolute;left:0;top:0;bottom:0;width:28px;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;text-orientation:upright;font-size:11px;font-weight:700;letter-spacing:2px;color:#fff;line-height:1;}
.ag-item.pending::before{background:linear-gradient(180deg,#FF5C9D,#D6006E);}
.ag-item.confirmed::before{background:linear-gradient(180deg,#34d399,#059669);}
.ag-item.ok::before{background:linear-gradient(180deg,#34d399,#059669);}   /* 已确认（SG_APPT_ST 用的 cls 是 ok） */
.ag-item.arrived::before{background:linear-gradient(180deg,#38bdf8,#0ea5e9);}
.ag-item.done::before{background:linear-gradient(180deg,#cbd5e1,#94a3b8);}
.ag-item.noshow::before{background:linear-gradient(180deg,#FF5C9D,#D6006E);}
.ag-item.cancel::before{background:linear-gradient(180deg,#cbd5e1,#94a3b8);}
.ag-item.noshow,.ag-item.cancel{opacity:.85;}

/* 已完成 / 已取消：一排 3 个 */
.ag-done-grid{display:block;}
.ag-done-grid .ag-item{margin:0 12px 6px;}
.ag-done-grid .ag-item .ca-badge{display:inline-flex;}
.ag-done-grid .ag-item .ag-acts{grid-column:auto;}
.ag-done-grid .ag-item .ag-l2{flex-wrap:wrap;gap:4px 8px;}
@media (max-width:1180px){.ag-done-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:820px){.ag-done-grid{grid-template-columns:1fr;}}


/* ===== 新增预约弹窗：输入框描边更明显（只作用于这个弹窗） ===== */
.modal:has(#ap-member-search) .field input.input,
.modal:has(#ap-member-search) .field select.select,
.modal:has(#ap-member-search) .ap-when-row input.input{
  border:1.5px solid #B8C2CF !important;
  background:#fff !important;
  box-shadow:0 1px 2px rgba(15,23,42,.06);
  border-radius:10px;
}
.modal:has(#ap-member-search) .field input.input:hover,
.modal:has(#ap-member-search) .field select.select:hover,
.modal:has(#ap-member-search) .ap-when-row input.input:hover{ border-color:#8E9AAB !important; }
.modal:has(#ap-member-search) .field input.input:focus,
.modal:has(#ap-member-search) .field select.select:focus,
.modal:has(#ap-member-search) .ap-when-row input.input:focus{
  border-color:#D6006E !important;
  box-shadow:0 0 0 3px rgba(214,0,110,.13);
  outline:none !important;
}


/* ===== 预约详情卡：带浅粉底色，和周围白卡区分开 ===== */
.ca-panel.ca-detail{
  background:linear-gradient(180deg,#FFF6FA 0%,#FFFDFE 60%);
  border:1px solid #F3D6E2;
  box-shadow:0 6px 18px rgba(214,0,110,.06);
}
.ca-panel.ca-detail .ca-detail-time{ color:#B0136B; }
.ca-panel.ca-detail .ca-rows > div{ border-bottom:1px dashed #F0DCE6; }
.ca-panel.ca-detail .ca-rows > div:last-child{ border-bottom:0; }
.ca-panel.ca-detail .ca-detail-more{ border-top:1px dashed #F0DCE6; }
.ca-panel.ca-detail #ca-edit-time{
  background:#fff;
  border:1.5px solid #E7C6D6;
}
.ca-panel.ca-detail #ca-edit-time:focus{
  border-color:#D6006E;
  box-shadow:0 0 0 3px rgba(214,0,110,.12);
  outline:none;
}


/* ===== 手机端结算面板：内容可滚、确认收款永远可见（v1733） ===== */
html.force-m .pos-right.m-checkout{
  display:flex;flex-direction:column;overflow:hidden;
  max-height:92dvh;
}
html.force-m .pos-right.m-checkout .m-checkout-body{
  flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
}
html.force-m .pos-right.m-checkout .pos-submit-row{
  position:sticky;bottom:0;left:0;right:0;
  background:#fff;
  padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));
  box-shadow:0 -8px 20px rgba(15,23,42,.08);
  z-index:5;
}
html.force-m .pos-right.m-checkout .pos-submit-row .btn{flex:1;}
/* 结算面板打开时，隐藏底部悬浮「去结算」条，避免两层叠在一起 */
html.force-m body.pos-drawer-open .m-pos-bar,
html.force-m body.pos-drawer-open .pos-cart-drawer{display:none !important;}
/* 结算面板打开时隐藏底部导航，否则「确认收款」会被导航压住 */
html.force-m body.pos-drawer-open .m-bottom-nav{display:none !important;}
html.force-m body.pos-drawer-open .pos-right.m-checkout{max-height:100dvh;bottom:0;}


/* v1735：手机结算面板固定高度（项目再多也不缩）、打开时锁住背后滚动 */
html.force-m .pos-right.m-checkout{
  height:92dvh !important;
  max-height:92dvh !important;
  min-height:92dvh !important;
  bottom:0 !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
html.force-m .pos-right.m-checkout .m-checkout-body{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  -webkit-overflow-scrolling:touch;
}
html.force-m .pos-right.m-checkout .pos-submit-row{
  flex:0 0 auto !important;
  position:relative !important;
  margin-top:auto !important;
}
/* 面板打开时锁死背景，手指滑不动后面的项目列表 */
html.force-m body.pos-drawer-open{
  overflow:hidden !important;
  touch-action:none;
}
html.force-m body.pos-drawer-open .svc-grid,
html.force-m body.pos-drawer-open .pos-left{
  overflow:hidden !important;
  touch-action:none;
}
html.force-m .pos-right.m-checkout .m-checkout-body{
  touch-action:pan-y;
}
