*{box-sizing:border-box}html{font-size:14px}body{margin:0;color:#262e38;background:#f5f6f7;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(37,99,235,.2);outline-offset:2px}button,a,input,select{ -webkit-tap-highlight-color:transparent}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:230px;padding:28px 20px 18px;color:#d8dde2;background:#101d2b;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;padding:0 12px 40px}.brand-mark{width:45px;height:45px;border:1px solid #4d5763;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#242f3b,#15212f);color:#aac3df;box-shadow:inset 0 1px 0 #ffffff12}.brand-mark svg{width:27px;height:27px}.brand strong{display:block;font-size:24px;line-height:1.2;letter-spacing:1px;color:#edf2f7}.brand span{display:block;font-size:11px;letter-spacing:2.1px;color:#9ba3ac;margin-top:7px}.workspace-label{font-size:12px;color:#828c98;padding:0 15px 13px}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-item{height:49px;width:100%;display:flex;align-items:center;gap:13px;border:0;border-radius:7px;padding:0 15px;background:transparent;color:#c2c9d0;text-align:left;transition:background .18s,color .18s}.nav-item:hover{background:#ffffff09;color:#fff}.nav-item.active{color:#dde9f6;background:#293543;box-shadow:inset 3px 0 #8caed5}.nav-item svg{width:19px;height:19px;color:#bdc8d4}.nav-item span{flex:1}.nav-item em{font-size:11px;font-style:normal;color:#b8bfc7}.sidebar-bottom{margin-top:auto}.private-card{border:1px solid #384350;border-radius:8px;padding:17px 13px;margin:0 2px 24px;background:#172433}.private-card strong{display:flex;align-items:center;gap:8px;font-size:13px;color:#d4dae1}.private-card svg{width:17px;height:17px}.private-card p{font-size:11px;line-height:1.8;color:#919aa5;margin:8px 0 0}.profile{border-top:1px solid #384350;padding:20px 10px 0;display:flex;align-items:center;gap:11px}.profile-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#4a5765;color:#d7e0ea}.profile strong{display:block;font-size:12px}.profile span{display:block;font-size:10px;color:#8d96a0;margin-top:4px}.profile>svg{margin-left:auto;width:17px;color:#8f99a5}.sidebar-scrim{display:none}.main-column{width:calc(100% - 230px);margin-left:230px;min-width:0}.topbar{height:72px;padding:0 42px;background:#fff;border-bottom:1px solid #e8eaed;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20}.breadcrumbs{display:flex;align-items:center;gap:18px;font-size:12px}.breadcrumbs>span{color:#9b9fa4}.breadcrumbs b{font-weight:400;color:#c4c7cb}.breadcrumbs strong{font-weight:500;color:#4b5157}.top-actions{display:flex;align-items:center;gap:18px;color:#818890;font-size:11px}.top-actions>span,.top-actions>button{display:flex;align-items:center;gap:7px}.top-actions svg{width:15px;height:15px}.top-actions button{border:1px solid #e3e6e9;border-radius:18px;background:#fafbfc;color:#6e757e;padding:7px 12px}.mobile-menu{display:none!important}.page-content{padding:38px 42px 60px;max-width:1720px;margin:0 auto}.page-kicker{color:#8d9399;font-size:12px;margin-bottom:8px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}.page-heading h1{font-size:29px;letter-spacing:-.8px;margin:0 0 9px;color:#1e2833;font-weight:700}.page-heading p{margin:0;color:#868c92;font-size:13px}.heading-actions{display:flex;gap:12px;flex:none}.button{height:42px;border-radius:7px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;border:1px solid transparent;white-space:nowrap;transition:transform .15s,box-shadow .15s,background .15s}.button:hover{transform:translateY(-1px)}.button svg{width:16px;height:16px}.button-primary{background:#284362;color:#fff;border-color:#284362;box-shadow:0 2px 4px #1b334f20}.button-primary:hover{background:#203955;box-shadow:0 4px 12px #1b334f25}.button-secondary{background:#fff;border-color:#e2e5e8;color:#464d55}.button-secondary:hover{background:#f9fafc;border-color:#cdd2d8}.button-danger{color:#a74a3d;background:#fff5f1;border-color:#f0d8cf}.button-small{height:34px;padding:0 12px}.icon-button{width:36px;height:36px;border:0;background:transparent;border-radius:6px;color:#8a9097;display:inline-grid;place-items:center;padding:0}.icon-button:hover{background:#eef1f4;color:#31455b}.icon-button svg{width:17px;height:17px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.balance-card{text-align:left;width:100%;cursor:pointer}.balance-card:hover{border-color:#c5ced8;box-shadow:0 6px 16px #26313d08}.balance-card.error{border-color:#e8b8ac;background:#fff6f3}.balance-card.error .stat-icon{background:#f9e8e2;color:#b76c58}.balance-issue-list{max-height:280px;overflow-y:auto;margin-top:14px}.balance-issue-list>button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 5px;border:0;border-bottom:1px solid #eaedf1;background:#fff;text-align:left;color:#5a6169}.balance-issue-list>button:hover{background:#f8f9fb}.balance-issue-list>button>span{flex:1}.balance-issue-list strong{display:block;font-size:11px;font-weight:500}.balance-issue-list small{display:block;font-size:9px;color:#9a9fa4;margin-top:4px}.balance-issue-list b{font-size:10px;color:#a55444;white-space:nowrap}.balance-issue-list svg{width:14px;height:14px;color:#959aa0}.stat-card{height:155px;background:#fff;border:1px solid #e6e9ec;border-radius:10px;padding:27px 23px;position:relative;box-shadow:0 4px 10px #26313d03}.stat-card:first-child{background:linear-gradient(110deg,#fff 40%,#eef4fa)}.stat-label{font-size:12px;color:#7d8389}.stat-icon{position:absolute;right:21px;top:22px;width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#edf2f7;color:#7e8ea1}.stat-icon svg{width:20px;height:20px}.stat-value{font-size:31px;font-weight:650;letter-spacing:-.6px;color:#26303b;margin-top:14px;line-height:1.1}.stat-value.positive{color:#445e7b}.stat-value small{font-size:12px;font-weight:400;color:#8b9095;margin-left:5px;letter-spacing:0}.stat-foot{font-size:11px;color:#91969b;margin-top:12px}.overview-grid{display:grid;grid-template-columns:minmax(0,3.55fr) minmax(260px,1fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid #e4e7eb;border-radius:10px;box-shadow:0 3px 10px #26313d03;overflow:hidden}.panel-head{padding:23px 23px 17px}.panel-title-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title-line h2{font-size:17px;margin:0;color:#2c343d}.panel-title-line h2 span{font-size:11px;font-weight:400;color:#90959a;margin-left:8px}.panel-title-line>svg{color:#6382a6;width:23px;height:23px}.panel-description{font-size:11px;color:#92969b;margin:8px 0 0}.text-button{border:0;background:transparent;color:#6c737b;font-size:11px;padding:4px}.text-button:hover{color:#284362}.table-tools{display:flex;align-items:center;gap:18px;padding:6px 23px 18px}.filter-tabs{display:flex;align-items:center;gap:2px;flex:none}.filter-tab{height:32px;padding:0 12px;border:0;background:transparent;color:#787f86;border-radius:5px;font-size:12px}.filter-tab:hover{background:#f2f4f7}.filter-tab.active{background:#e9eef3;color:#36495f;font-weight:600}.search-box{height:37px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dfe3e7;border-radius:6px;padding:0 11px;color:#999ea3;min-width:0;flex:1}.search-box:focus-within{border-color:#919ead;box-shadow:0 0 0 3px #36495f0a}.search-box svg{width:15px;height:15px}.search-box input{border:0;outline:0;background:transparent;width:100%;min-width:0;color:#343d48;font-size:11px}.search-box input::placeholder{color:#a4a8ad}.select-wrap{position:relative;flex:none}.select-wrap select{height:37px;min-width:139px;appearance:none;border:1px solid #dfe3e7;border-radius:6px;background:#fff;color:#6f767e;padding:0 33px 0 13px;font-size:11px;cursor:pointer}.select-wrap>svg{position:absolute;right:9px;top:10px;width:16px;height:16px;pointer-events:none;color:#878d94}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;white-space:nowrap}.data-table th{height:42px;background:#f6f8fa;color:#868b91;font-size:11px;font-weight:500;text-align:left;padding:0 22px;border-top:1px solid #ebedf0;border-bottom:1px solid #ebedf0}.data-table td{height:69px;padding:0 22px;border-bottom:1px solid #ebedf0;color:#5e646b;font-size:12px}.data-table tbody tr{transition:background .15s}.data-table tbody tr:hover{background:#fafbfc}.data-table tbody tr:last-child td{border-bottom:0}.rank{font-weight:600;color:#686e74;display:inline-flex;align-items:center;gap:4px;min-width:28px}.rank svg{width:15px;height:15px}.rank.gold{color:#4674a8}.rank.silver{color:#8a919a}.rank.bronze{color:#aa8261}.member-cell{display:flex;align-items:center;gap:11px;color:#353d46}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#eaeef2;color:#7e8792;font-size:11px;flex:none}.avatar.purple{background:#f0edf5;color:#9488a0}.avatar.blue{background:#eaf0f2;color:#799298}.avatar.rose{background:#f5eeec;color:#a38c82}.member-meta strong{display:block;font-weight:500;font-size:12px}.member-meta small{display:block;font-size:10px;color:#a0a5aa;margin-top:4px}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:36px;border:1px solid #bacadd;border-radius:4px;padding:3px 6px;font-size:9px;font-weight:650;line-height:1;background:#dce6f1;color:#3f5671}.badge.sub{background:#ebeef2;color:#6c7a89}.badge.left{background:#f9ded8;border-color:#eab9af;color:#a64438}.points-positive{color:#4c6179;font-weight:600}.points-negative{color:#a26c50}.points-current{display:inline-flex;align-items:center;justify-content:center;min-width:56px;padding:3px 7px;border:1px solid #b5c6d9;border-radius:4px;background:#dfe7f1;color:#2f4b6b;font-size:11px;line-height:1.2;font-weight:700}.points-current.negative{background:#fbe2dc;border-color:#edb9ae;color:#b34335}.points-current.zero{background:#eeeff1;border-color:#dbdee1;color:#71757a}.empty-state{text-align:center;padding:58px 20px!important;color:#999ea4!important}.empty-state svg{width:32px;height:32px;margin-bottom:10px;color:#b7bcc1}.recent-panel{min-height:450px}.recent-list{padding:0 23px}.recent-item{padding:15px 0 17px;border-bottom:1px solid #ebedf0}.recent-item:last-child{border-bottom:0}.recent-title{display:flex;align-items:center;gap:10px;color:#434b54;font-size:12px}.recent-title .material-icon{width:30px;height:30px}.recent-date{font-size:10px;color:#999da1;margin:8px 0 10px 40px}.recent-values{margin-left:40px;display:grid;gap:5px;font-size:11px}.attendance-list{max-height:485px;overflow-y:auto;scrollbar-width:thin}.attendance-item{padding:14px 0;border-bottom:1px solid #ebedf0}.attendance-item:last-child{border-bottom:0}.attendance-date{display:flex;align-items:center;gap:8px;color:#404a55}.attendance-date .material-icon{width:28px;height:28px}.attendance-date strong{font-size:11px;font-weight:600}.attendance-date>span:last-child{font-size:9px;color:#9399a0}.attendance-count{margin:8px 0 6px 36px;font-size:10px;color:#808790}.attendance-count strong{color:#42556b;font-size:12px}.attendance-item p{margin:0 0 0 36px;color:#878d94;font-size:9px;line-height:1.75;overflow-wrap:anywhere}.recent-values span{display:flex;justify-content:space-between}.material-icon{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:8px;background:#ebf0f6;color:#778ca4;flex:none}.material-icon svg{width:17px;height:17px}.material-icon.link{background:#eef0f3;color:#8a9199}.notice{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#edf2f8,#f5f7fa);border:1px solid #dfe6ee;color:#6f7985;border-radius:7px;padding:14px 17px;font-size:11px;margin-bottom:23px}.notice svg{width:17px;height:17px}.records-panel .table-tools{padding:18px 23px}.records-panel .table-tools .search-box{max-width:270px;flex:none;width:270px}.records-order{margin-left:auto;color:#8b9096;font-size:11px}.records-table th,.records-table td{padding-left:20px;padding-right:20px}.records-table td{height:98px;vertical-align:middle}.record-material{display:flex;align-items:center;gap:12px}.record-material strong{font-size:12px;font-weight:500;color:#434a53}.record-material small{display:block;margin-top:11px;color:#9ca0a4;font-size:10px}.change-line{display:flex;align-items:center;gap:9px;font-size:11px;margin:4px 0}.change-tag{padding:3px 6px;background:#e9eef4;color:#6d7f94;border-radius:3px;font-size:10px}.change-tag.minus{background:#fbf2e9;color:#b19570}.change-person{color:#636a71}.record-material-link{display:inline-block;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.record-material-link:hover strong{color:#284362;text-decoration:underline;text-underline-offset:3px}.record-points{text-align:right;font-size:11px;line-height:2}.record-points strong{font-weight:500;color:#50647a}.record-points .negative{display:block;color:#a46c4e}.store-points{text-align:right;color:#686f77;font-size:11px}.record-actions{text-align:right}.record-actions .icon-button{display:inline-grid}.record-actions [data-action="delete-record"]:hover,[data-action="delete-member"]:hover{background:#fff0ec;color:#b05245}.full-panel .panel-head{padding-bottom:13px}.member-count{font-size:11px;color:#999da2;font-weight:400;margin-left:7px}.material-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px;gap:20px}.material-toolbar .search-box{max-width:260px}.material-filters{display:flex;gap:4px;align-items:center}.material-filters .filter-tab span{font-size:10px;color:#9fa4a9;margin-left:4px}.material-group{margin-bottom:22px}.group-heading{display:flex;align-items:center;margin-bottom:10px}.group-mark{width:26px;height:26px;border:1px solid #d9e0e9;border-radius:5px;background:#eff4f9;display:grid;place-items:center;color:#8799ad;font-size:11px;margin-right:9px}.group-heading h2{font-size:14px;margin:0;color:#3a434d}.group-heading>span:last-child{margin-left:auto;font-size:10px;color:#8d9399}.material-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.material-card{background:linear-gradient(145deg,#fff,#fbfcfd);border:1px solid #dfe4e9;border-radius:8px;padding:14px;min-height:112px;display:grid;grid-template-columns:30px minmax(0,1fr) 24px;grid-template-rows:auto auto;column-gap:9px;transition:transform .18s,border-color .18s,box-shadow .18s}.material-card:hover{transform:translateY(-1px);border-color:#c7cfd8;box-shadow:0 5px 14px #2b39490a}.material-card>.material-icon{width:30px;height:30px;grid-column:1;grid-row:1;border-radius:7px}.material-card>.material-icon svg{width:15px;height:15px}.material-card .icon-button{position:static;grid-column:3;grid-row:1;width:24px;height:24px;align-self:center;justify-self:end}.material-card .icon-button svg{width:14px;height:14px}.material-card h3{grid-column:2;grid-row:1;align-self:center;font-size:12px;line-height:1.5;font-weight:500;color:#525962;margin:0}.material-price{grid-column:1/-1;grid-row:2;margin-top:11px;padding-top:9px;border-top:1px solid #eceff3;font-size:22px;line-height:1;color:#425366;font-weight:650}.material-price small{font-size:10px;font-weight:400;color:#999ea3;margin-left:5px}.attendance-panel-actions{display:flex;align-items:center;gap:16px}.attendance-edit-day{width:100%;height:44px;padding:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;cursor:pointer}.attendance-edit-day:disabled{cursor:default}.attendance-table th.manual{background:#dfeeff}.attendance-table th.mismatch{background:#fbe5df}.attendance-table th.ignored{background:#ebeef1}.attendance-state-dot{position:absolute;right:3px;top:3px;width:5px;height:5px;border-radius:50%;background:#4c7cb3}.attendance-table th.mismatch .attendance-state-dot{background:#b75d4a}.attendance-table th.ignored .attendance-state-dot{background:#8b9299}.attendance-compare{padding:11px 13px;border:1px solid #dce2e8;border-radius:7px;background:#f1f4f8;margin-bottom:17px}.attendance-compare.mismatch{border-color:#ecc8bc;background:#fff4ef}.attendance-compare strong{font-size:11px;color:#4c5662}.attendance-compare p{font-size:10px;line-height:1.8;color:#7c8289;margin:6px 0 0}.attendance-table-panel .table-scroll{max-height:calc(100vh - 280px);overflow:auto;scrollbar-width:thin}.attendance-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:0;font-size:10px;font-variant-numeric:tabular-nums}.attendance-table th,.attendance-table td{height:34px;min-height:34px;max-height:34px;box-sizing:border-box;padding:0 4px;border-right:1px solid #eaedf1;border-bottom:1px solid #eaedf1;background:#fff;white-space:nowrap}.attendance-table th{position:sticky;top:0;z-index:5;background:#e8edf3;color:#4e5b69;font-weight:600;text-align:left}.attendance-table thead th{height:46px;min-height:46px;max-height:46px;border-bottom:1px solid #d6dde6}.attendance-table th:nth-child(1),.attendance-table td:nth-child(1){position:sticky;left:0;z-index:3;min-width:48px}.attendance-table th:nth-child(2),.attendance-table td:nth-child(2){position:sticky;left:48px;z-index:3;min-width:54px}.attendance-table th:nth-child(3),.attendance-table td:nth-child(3){position:sticky;left:102px;z-index:3;min-width:92px}.attendance-table th:nth-child(4),.attendance-table td:nth-child(4){position:sticky;left:194px;z-index:3;min-width:52px;text-align:center;box-shadow:1px 0 #dce1e7}.attendance-table thead th:nth-child(-n+4){z-index:7}.attendance-table th.attendance-day span{display:block;font-size:11px;font-weight:650;line-height:1.15;color:#425163}.attendance-table th.attendance-day small{display:block;font-size:9px;color:#74808e;margin-top:4px;line-height:1}.attendance-id{color:#989da3;font-size:9px}.attendance-count-cell{font-weight:700;color:#42556b}.attendance-day{width:auto;min-width:0;max-width:none;height:34px;min-height:34px;max-height:34px;padding:0!important;text-align:center!important;color:#b2b7bc}.attendance-day.present{background:#dfe7f1!important;color:#38506c;font-weight:700}.attendance-day.weekend{background:#eff0f2!important;color:#b2b6ba!important}.attendance-total{font-size:12px;color:#42556b}.attendance-table tfoot td{background:#ebf0f5;color:#4e5c6b;font-weight:650}.attendance-table tfoot td:first-child{position:sticky;left:0;z-index:4}.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.backup-card{background:#fff;border:1px solid #e3e6ea;border-radius:10px;padding:28px}.backup-card-icon{width:45px;height:45px;border-radius:11px;background:#e9eef4;color:#5c6d81;display:grid;place-items:center;margin-bottom:20px}.backup-card h2{font-size:17px;margin:0 0 9px}.backup-card p{font-size:12px;color:#898f95;line-height:1.8;min-height:43px;margin:0 0 20px}.backup-card .button{margin-right:8px}.backup-info{margin-top:24px;padding:20px 24px}.backup-info h3{font-size:14px;margin:0 0 14px}.backup-info ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.backup-info li{font-size:11px;color:#898f95}.backup-info strong{display:block;color:#3e4751;font-size:20px;margin-bottom:5px}.modal-backdrop{position:fixed;inset:0;background:#141c25cc;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .18s ease}.modal{width:min(520px,100%);max-height:calc(100vh - 48px);overflow-y:auto;background:#fff;border-radius:13px;box-shadow:0 24px 80px #0b131d40;animation:slide-in .2s ease}.modal.modal-wide{width:min(660px,100%)}.modal.modal-narrow{width:min(430px,100%)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 27px 18px;border-bottom:1px solid #ebedf0}.modal-header h2{font-size:19px;margin:0 0 6px}.modal-header p{font-size:11px;color:#92979d;margin:0}.modal-body{padding:23px 27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-field{display:flex;flex-direction:column;gap:8px}.form-field.full{grid-column:1/-1}.form-field label{font-size:12px;color:#535a62}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #dde1e6;border-radius:6px;background:#fff;padding:11px 12px;color:#333d48;font-size:12px;outline:0}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#8694a5;box-shadow:0 0 0 3px #41556c10}.form-field textarea{resize:vertical;min-height:75px}.form-field small{font-size:10px;color:#979ca1}.recipient-shares{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:165px;overflow-y:auto;scrollbar-width:thin}.recipient-share{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid #e0e4e9;border-radius:6px;background:#f9fafb;font-size:10px;color:#535b64}.recipient-share>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recipient-share select{width:65px;border:1px solid #d8dee5;border-radius:5px;background:#fff;color:#465463;padding:5px 6px;font-size:10px}.recipient-share-empty{grid-column:1/-1;padding:10px;color:#999ea4;font-size:10px;background:#f7f8fa;border-radius:6px}.record-share-option{display:flex;align-items:center;gap:8px;font-size:11px;color:#525962;cursor:pointer}.record-share-option input{width:15px;height:15px;margin:0;accent-color:#374f6b}.member-select-option:has(input:disabled){opacity:.42;cursor:not-allowed}.record-calc-note{padding:10px 12px;border:1px solid #dfe3e8;border-radius:6px;background:#f5f7f9;color:#838990;font-size:10px;line-height:1.7}.record-calc-note.active{border-color:#cdd8e4;background:#e9eff6;color:#4b5c70}.record-calc-note strong{font-weight:650;color:#36495f}.form-field.has-error>label{color:#b64d40}.form-field.has-error input,.form-field.has-error select,.form-field.has-error .member-select-toggle{border-color:#d86c5e!important;background:#fff5f3!important}.form-field.has-error::after{content:attr(data-error);display:block;color:#bd4f42;font-size:10px;margin-top:2px}.form-field input[readonly]{background:#eff2f5;color:#505d6c;cursor:default}.member-select{position:relative}.member-select-toggle{width:100%;min-height:43px;display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #dde1e6;border-radius:6px;background:#fff;color:#464f59;text-align:left}.member-select-toggle:hover,.member-select.open .member-select-toggle{border-color:#8694a5}.member-select-toggle>span{font-size:12px}.member-select-toggle>small{margin-left:auto;font-size:9px;color:#9a9fa4;white-space:nowrap}.member-select-toggle>svg{width:15px;height:15px;color:#868d94}.member-select-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;background:#fff;border:1px solid #d9dfe5;border-radius:8px;box-shadow:0 10px 28px #1a263417;overflow:hidden}.member-select.open .member-select-menu{display:block}.member-select-search{display:flex;align-items:center;gap:8px;padding:10px 11px;border-bottom:1px solid #eaedf1;color:#969ba1}.member-select-search svg{width:14px;height:14px}.member-select-search input{width:100%;border:0;outline:0;font-size:11px;color:#434c56}.member-select-options{max-height:205px;overflow-y:auto;padding:5px;scrollbar-width:thin}.member-select-option{display:flex;align-items:center;gap:8px;padding:8px 7px;border-radius:5px;cursor:pointer;font-size:11px;color:#525962}.member-select-option:hover{background:#eef2f6}.member-select-option input{width:14px;height:14px;margin:0;accent-color:#374f6b}.member-select-option small{margin-left:auto;font-size:9px;color:#6a7a8c}.member-select-option small.left{color:#ad7060}.modal-footer{padding:17px 27px 23px;display:flex;justify-content:flex-end;gap:10px}.member-spend-material{display:block;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.member-spend-material:hover strong{color:#284362;text-decoration:underline;text-underline-offset:3px}.mini-modal-backdrop{position:fixed;inset:0;z-index:130;display:flex;align-items:center;justify-content:center;padding:20px;background:#141c2566;backdrop-filter:blur(2px);animation:fade-in .15s ease}.mini-modal-card{width:min(360px,100%);max-height:72vh;overflow-y:auto;background:#fff;border-radius:11px;box-shadow:0 20px 60px #101d2b45;animation:slide-in .16s ease}.mini-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:19px 20px 14px;border-bottom:1px solid #ebedf0}.mini-modal-header h2{margin:0 0 5px;font-size:16px;color:#2d3641}.mini-modal-header p{margin:0;font-size:9px;color:#969ba1}.mini-modal-body{padding:16px 20px 5px}.mini-party-section{margin-bottom:16px}.mini-party-section h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 7px;font-size:11px;color:#596069}.mini-party-section h3 span{font-size:9px;font-weight:400;color:#9a9fa4}.mini-party-list{max-height:165px;overflow-y:auto;border:1px solid #e5e9ed;border-radius:6px;padding:3px 10px;scrollbar-width:thin}.mini-party-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #eceef1;font-size:10px;color:#5e656e}.mini-party-row:last-child{border-bottom:0}.mini-party-row strong{font-size:10px;font-weight:600;white-space:nowrap}.mini-party-empty{padding:12px;text-align:center;color:#9ca1a6;font-size:10px}.mini-modal-footer{display:flex;justify-content:flex-end;padding:10px 20px 17px}.member-detail-filters{display:flex;gap:5px;margin:-5px 0 13px}.member-detail-filters button{min-width:55px;padding:5px 10px;border:1px solid #dce1e7;border-radius:5px;background:#fff;color:#838990;font-size:10px}.member-detail-filters button.active{background:#dfe7f0;border-color:#bbcadc;color:#3e5268;font-weight:600}.member-spend-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.member-spend-summary>div{padding:12px 14px;border:1px solid #e3e7eb;border-radius:7px;background:#f6f8fa}.member-spend-summary span{display:block;font-size:10px;color:#8c9298;margin-bottom:6px}.member-spend-summary strong{font-size:17px;color:#3f4b59}.member-spend-summary>div.addition strong{color:#435a74}.member-spend-summary>div.spending strong{color:#a95243}.member-spend-summary small{display:block;margin-top:5px;font-size:9px;color:#969ba1}.member-detail-table{width:100%;border-collapse:collapse;font-size:10px}.member-detail-table th{position:sticky;top:0;z-index:2;padding:8px 4px;background:#f3f5f8;border-bottom:1px solid #e0e5eb;color:#8c9298;text-align:left;font-size:9px;font-weight:500}.member-detail-table th:first-child{width:82px}.member-detail-table th:last-child{width:72px;text-align:right}.member-detail-table td{padding:10px 4px;border-bottom:1px solid #eaedf1;color:#616870}.member-detail-table td:last-child{text-align:right;font-weight:650;white-space:nowrap}.member-detail-table td.positive{color:#435a74}.member-detail-table td.negative{color:#ad5b49}.member-detail-table .member-spend-material strong{font-size:10px}.member-spend-head{display:flex;justify-content:space-between;padding:0 4px 8px;color:#989da2;font-size:9px;border-bottom:1px solid #e5e9ed}.member-spend-list{max-height:285px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c0c7ce transparent}.member-spend-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 4px;border-bottom:1px solid #eaedf1}.member-spend-row:last-child{border-bottom:0}.member-spend-row strong{display:block;font-size:11px;font-weight:500;color:#4d555e}.member-spend-row small{display:block;font-size:9px;color:#9a9fa4;margin-top:4px}.member-spend-row>span{font-size:11px;font-weight:650;color:#ad5b49;white-space:nowrap}.member-spend-row>span.positive{color:#435a74}.member-spend-empty{text-align:center;padding:35px 0;color:#9ba0a6;font-size:11px}.detail-hero{display:flex;align-items:center;gap:13px;padding:15px;background:#f4f6f9;border-radius:8px;margin-bottom:19px}.detail-hero h3{margin:0 0 5px;font-size:15px}.detail-hero p{margin:0;color:#8d9399;font-size:11px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.detail-stat{padding:14px;background:#f9fafb;border:1px solid #ebedf0;border-radius:7px}.detail-stat span{font-size:10px;color:#92979d;display:block;margin-bottom:7px}.detail-stat strong{font-size:17px}.detail-note{font-size:11px;line-height:1.8;color:#898f95;margin:18px 0 0}.record-party-section{margin-top:17px}.record-party-section h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;font-size:11px;font-weight:600;color:#525962}.record-party-section h3 span{font-size:9px;font-weight:400;color:#989da2}.record-party-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:190px;overflow-y:auto;scrollbar-width:thin}.record-party{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #e2e6eb;border-radius:6px;background:#f9fafb;font-size:10px}.record-party strong{font-size:10px;font-weight:650;white-space:nowrap}.record-party.positive{background:#eff3f8;border-color:#dae2eb}.record-party.positive strong{color:#475d77}.record-party.negative{background:#fcf4ef;border-color:#f0e2d8}.record-party.negative strong{color:#a65f49}.record-party-head,.record-party.detailed{display:grid;grid-template-columns:minmax(110px,1.4fr) repeat(3,minmax(72px,1fr));gap:8px;align-items:center}.record-party-head{padding:0 10px 6px;color:#9a9fa4;font-size:9px;text-align:right}.record-party-head span:first-child{text-align:left}.record-party-list.detailed{display:block;max-height:220px}.record-party.detailed{margin-bottom:5px;font-size:10px}.record-party.detailed>span:not(:first-child),.record-party.detailed strong{text-align:right}.record-party-empty{grid-column:1/-1;padding:14px;text-align:center;color:#9ca1a6;background:#f9fafb;border-radius:6px;font-size:10px}.detail-changes{max-height:240px;overflow-y:auto;margin-top:18px;border:1px solid #ebedf0;border-radius:7px;padding:5px 14px}.detail-changes>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 0;border-bottom:1px solid #eef0f2;font-size:11px;color:#636a71}.detail-changes>div:last-child{border-bottom:0}.detail-changes strong{font-weight:500}.permission-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.permission-options button{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;align-items:center;padding:17px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;color:#525962;text-align:left}.permission-options button>svg{grid-row:1/3;width:21px;height:21px}.permission-options button strong{font-size:13px}.permission-options button span{font-size:10px;color:#959aa0}.permission-options button.active{border-color:#889aaf;background:#e9eff6;color:#3f5267}.watch-mode [data-action="add-attendance"],.watch-mode [data-action="add-record"],.watch-mode [data-action="edit-record"],.watch-mode [data-action="delete-record"],.watch-mode [data-action="add-member"],.watch-mode [data-action="edit-member"],.watch-mode [data-action="add-material"],.watch-mode [data-action="import-json"],.watch-mode [data-action="reset-data"]{display:none!important}.toast-stack{position:fixed;right:25px;bottom:25px;z-index:200;display:grid;gap:10px}.toast{background:#17283c;color:#fff;padding:13px 18px;border-radius:8px;box-shadow:0 8px 24px #17283c30;display:flex;align-items:center;gap:9px;font-size:12px;animation:slide-in .2s ease}.toast svg{width:16px;height:16px;color:#a6bed9}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes slide-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.sidebar{width:240px;padding-left:22px;padding-right:22px}.main-column{width:calc(100% - 240px);margin-left:240px}.page-content{padding:39px 48px 60px}.topbar{padding:0 48px}.stat-card{height:157px}.data-table td{height:69px}}
@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}.overview-grid{grid-template-columns:1fr}.recent-panel{min-height:0}.recent-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 22px}.material-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.records-panel .table-tools{flex-wrap:wrap}.records-order{width:100%;text-align:right}.data-table th,.data-table td{padding-left:15px;padding-right:15px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:transform .22s ease;box-shadow:10px 0 35px #101d2b30}.sidebar.open{transform:translateX(0)}.sidebar-scrim.open{display:block;position:fixed;inset:0;background:#101d2b55;z-index:25}.main-column{margin-left:0;width:100%}.mobile-menu{display:inline-grid!important;margin-left:-8px}.topbar{padding:0 24px;height:62px}.page-content{padding:29px 24px 45px}.material-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.backup-info ul{grid-template-columns:1fr}.backup-grid{grid-template-columns:1fr}.table-tools{gap:10px;flex-wrap:wrap}.table-tools .search-box{order:3;flex-basis:100%}.top-actions>span{display:none}}
@media(max-width:600px){.page-content{padding:24px 15px 40px}.topbar{padding:0 16px}.top-actions{gap:5px}.top-actions button{font-size:10px;padding:6px 9px}.breadcrumbs{gap:10px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px}.page-heading h1{font-size:26px}.heading-actions{width:100%}.heading-actions .button{flex:1}.stats-grid{grid-template-columns:1fr;gap:12px}.stat-card{height:135px;padding:21px}.stat-icon{top:18px}.stat-value{margin-top:10px}.overview-grid{gap:15px}.panel-head{padding:20px 16px 14px}.table-tools{padding:6px 16px 15px}.filter-tabs{width:100%;justify-content:space-between}.filter-tab{padding:0 10px}.select-wrap{margin-left:auto}.recent-list{display:block;padding:0 16px}.notice{align-items:flex-start;line-height:1.7}.material-toolbar{align-items:stretch;flex-direction:column}.material-toolbar .search-box{max-width:none}.material-filters{justify-content:space-between}.material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.material-card{min-height:108px;padding:12px;column-gap:7px}.material-card h3{font-size:11px}.material-price{font-size:20px}.records-panel .table-tools .search-box{width:100%;max-width:none}.records-order{display:none}.backup-card{padding:22px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.modal-header,.modal-body{padding-left:20px;padding-right:20px}.modal-footer{padding-left:20px;padding-right:20px}.record-party-list{grid-template-columns:1fr}.record-party-head,.record-party.detailed{grid-template-columns:minmax(85px,1.3fr) repeat(3,minmax(55px,1fr));gap:5px}.detail-grid{grid-template-columns:1fr}.modal-backdrop{padding:12px}.toast-stack{left:15px;right:15px;bottom:15px}.toast{justify-content:center}}

@media(max-width:900px){.attendance-table{min-width:950px}.attendance-day{min-width:28px;width:28px;max-width:28px}}

.attendance-page{overflow:hidden}.attendance-page .page-content{height:calc(100vh - 72px);min-height:0;display:flex;flex-direction:column;justify-content:center}.attendance-page .page-heading{flex:none}.attendance-page .attendance-table-panel{flex:1;min-height:0;display:flex;flex-direction:column}.attendance-page .attendance-table-panel .panel-head{flex:none}.attendance-page .attendance-table-panel .table-scroll{flex:1;min-height:0;max-height:none;overflow:auto}@media(max-width:900px){.attendance-page .page-content{height:calc(100vh - 62px)}}

.member-select-toggle:hover{background:#fbfcfd}.member-select-toggle>svg{width:16px;height:16px;color:#667381}.member-picker-backdrop{position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:24px;background:#141c25e8;backdrop-filter:blur(4px);animation:fade-in .18s ease}.member-picker-page{width:min(920px,100%);height:min(820px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:13px;box-shadow:0 24px 80px #0b131d59;animation:slide-in .2s ease}.member-picker-header{display:flex;align-items:flex-start;justify-content:space-between;padding:23px 27px 18px;border-bottom:1px solid #ebedf0}.member-picker-header .page-kicker{margin-bottom:5px;font-size:10px}.member-picker-header h2{margin:0 0 7px;font-size:21px;color:#242e3a}.member-picker-header p{margin:0;color:#898f96;font-size:11px}.member-picker-toolbar{display:flex;align-items:center;gap:18px;padding:14px 27px;background:#f9fafb;border-bottom:1px solid #ebedf0}.member-picker-toolbar .search-box{max-width:390px;background:#fff}.member-picker-batch{display:flex;align-items:center;gap:13px;margin-left:auto}.member-picker-batch .text-button{font-size:11px;color:#42556b}.member-picker-content{flex:1;min-height:0;overflow-y:auto;padding:17px 27px;scrollbar-width:thin}.member-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.member-picker-option{min-width:0;min-height:52px;display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;color:#4b545e;text-align:left;cursor:pointer}.member-picker-option[hidden]{display:none}.member-picker-option:hover{border-color:#9daab9;background:#f5f8fb}.member-picker-option.selected{border-color:#7d8fa4;background:#e7eef5;color:#31455b;box-shadow:inset 0 0 0 1px #7d8fa420}.member-picker-option:disabled{opacity:.4;cursor:not-allowed;background:#f4f5f6}.member-picker-check{width:18px;height:18px;display:grid;place-items:center;flex:none;border:1px solid #d1d8df;border-radius:4px;background:#fff;color:#fff}.member-picker-check svg{width:13px;height:13px}.member-picker-option.selected .member-picker-check{border-color:#475c74;background:#475c74}.member-picker-person{min-width:0}.member-picker-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600}.member-picker-person small{display:block;margin-top:5px;color:#989da2;font-size:8px}.member-picker-option em{font-size:8px;font-style:normal;color:#a77768;white-space:nowrap}.member-picker-empty{padding:50px;text-align:center;color:#959ba1;font-size:12px}.member-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 27px;border-top:1px solid #e5e9ed;background:#f9fafb}.member-picker-footer>span{color:#777e86;font-size:11px}.member-picker-footer>span strong{margin:0 3px;color:#31465f;font-size:16px}.member-picker-footer>div{display:flex;gap:10px}
@media(max-width:1100px){.member-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.member-picker-backdrop{padding:12px}.member-picker-page{height:calc(100vh - 24px)}.member-picker-header,.member-picker-content{padding-left:18px;padding-right:18px}.member-picker-toolbar{padding:12px 18px;flex-wrap:wrap;gap:8px}.member-picker-toolbar .search-box{max-width:none;flex-basis:100%}.member-picker-batch{margin-left:0}.member-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-picker-footer{padding:13px 18px}.member-picker-option em{display:none}}
@media(max-width:430px){.member-picker-grid{grid-template-columns:1fr}.member-picker-header h2{font-size:18px}.member-picker-footer{gap:8px}.member-picker-footer .button{padding:0 11px}}

.recipient-count-cell{text-align:center}.recipient-count-button{display:inline-flex;min-width:76px;flex-direction:column;align-items:center;gap:5px;padding:7px 12px;border:1px solid #d6dee7;border-radius:6px;background:#eff3f8;color:#42556b;cursor:pointer}.recipient-count-button:hover{border-color:#8699ae;background:#e2eaf3}.recipient-count-button strong{font-size:13px}.recipient-count-button small{font-size:9px;color:#7b8794}.recipient-detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.recipient-detail-summary>span{padding:12px 14px;border:1px solid #e0e5ea;border-radius:7px;background:#f4f6f9;color:#898f95;font-size:10px}.recipient-detail-summary strong{display:block;margin-top:6px;color:#3e4f62;font-size:17px}.recipient-detail-list{max-height:390px;overflow-y:auto;border:1px solid #e3e7ec;border-radius:7px;scrollbar-width:thin}.recipient-detail-table{width:100%;border-collapse:collapse}.recipient-detail-table th{position:sticky;top:0;z-index:1;padding:10px 13px;background:#f0f3f7;border-bottom:1px solid #dfe4e9;color:#898f96;font-size:10px;font-weight:500;text-align:left}.recipient-detail-table th:last-child,.recipient-detail-table td:last-child{text-align:right}.recipient-detail-table td{padding:10px 13px;border-bottom:1px solid #eaedf1;color:#4e5761;font-size:11px}.recipient-detail-table tr:last-child td{border-bottom:0}.recipient-detail-table td strong{display:block;font-size:11px;font-weight:500}.recipient-detail-table td small{display:block;margin-top:3px;color:#9a9fa4;font-size:9px}.recipient-detail-table td:last-child{color:#445972;font-weight:650;white-space:nowrap}

.modal-backdrop,.modal,.member-picker-backdrop,.member-picker-page,.mini-modal-backdrop,.mini-modal-card{animation:none!important}

.recipient-count-button{min-width:0;gap:4px;padding:4px 8px;border:0;background:transparent;color:#42556b}.recipient-count-button:hover{border:0;background:transparent;color:#243e5b;text-decoration:underline;text-underline-offset:3px}.recipient-count-button small{color:#7e8690}

.records-table th:nth-child(5){text-align:center}.recipient-count-button{padding-left:0;padding-right:0}

.record-date-filter{display:flex;align-items:center;gap:6px;flex:none}.record-date-filter>span{color:#989da2;font-size:10px}.record-date-filter input{width:126px;height:37px;border:1px solid #dfe3e7;border-radius:6px;background:#fff;color:#646b72;padding:0 7px;font-size:10px;outline:0}.record-date-filter input:focus{border-color:#919ead;box-shadow:0 0 0 3px #36495f0a}.record-date-filter .text-button{padding:4px;white-space:nowrap}
@media(max-width:600px){.record-date-filter{width:100%;flex-wrap:wrap}.record-date-filter input{flex:1;min-width:0}}

.record-date-filter .record-date-select select{width:126px;min-width:126px}
@media(max-width:600px){.record-date-filter .record-date-select{flex:1;min-width:0}.record-date-filter .record-date-select select{width:100%;min-width:0}}

.records-table tbody td,.records-table .record-material strong,.records-table .change-person,.records-table .points-negative,.records-table .points-positive,.records-table .store-points,.records-table .recipient-count-button,.records-table .recipient-count-button strong{font-size:12px;font-weight:400}.records-table .record-material small,.records-table .recipient-count-button small{font-size:10px;font-weight:400}

.attendance-table thead th:nth-child(-n+4){text-align:center}.date-picker{position:relative}.date-picker-toggle{width:100%;min-height:43px;display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #dde1e6;border-radius:6px;background:#fff;color:#464f59;text-align:left}.date-picker-toggle:hover,.date-picker.open .date-picker-toggle{border-color:#8694a5;background:#fbfcfd}.date-picker-toggle>span{font-size:12px}.date-picker-toggle>small{margin-left:auto;color:#9a9fa4;font-size:9px;white-space:nowrap}.date-picker-toggle>svg{width:15px;height:15px;color:#868d94;transition:transform .15s}.date-picker.open .date-picker-toggle>svg{transform:rotate(180deg)}.date-picker-menu{display:none;position:absolute;top:calc(100% + 6px);left:0;z-index:35;width:292px;padding:12px;border:1px solid #d9dfe5;border-radius:9px;background:#fff;box-shadow:0 12px 30px #1a26341c}.date-picker.open .date-picker-menu{display:block}.date-picker-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.date-picker-head strong{color:#364454;font-size:12px;font-weight:600}.date-picker-head .icon-button{width:30px;height:30px}.date-picker-head .icon-button:first-child svg{transform:rotate(180deg)}.date-picker-head svg{width:14px;height:14px}.date-picker-week,.date-picker-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.date-picker-week span{padding:5px 0;color:#969ba1;font-size:9px;text-align:center}.date-picker-days>button{height:32px;border:1px solid transparent;border-radius:5px;background:transparent;color:#525962;font-size:11px}.date-picker-days>button:hover{background:#e9eef4;color:#31465e}.date-picker-days>button.today{border-color:#b0bece;color:#42556b}.date-picker-days>button.selected{border-color:#475c74;background:#475c74;color:#fff}.date-picker-foot{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding-top:9px;border-top:1px solid #eaedf1}.date-picker-foot>span{color:#9a9fa4;font-size:9px}.date-picker-foot .text-button{color:#42556b;font-size:10px}.form-field.has-error .date-picker-toggle{border-color:#d86c5e!important;background:#fff5f3!important}

.modal:has(.date-picker.open){overflow:visible}

.needs-panel .panel-head{padding-bottom:15px}.needs-summary{display:flex;align-items:center;gap:20px;margin-top:15px;color:#848a90;font-size:10px}.needs-summary strong{margin:0 3px;color:#3f5267;font-size:14px;font-weight:600}.needs-summary small{margin-left:auto;color:#999ea3;font-size:10px}.needs-panel .table-scroll{max-height:calc(100vh - 325px);overflow:auto;scrollbar-width:thin}.needs-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:10px}.needs-table th,.needs-table td{height:49px;padding:0 5px;border-right:1px solid #e5e9ee;border-bottom:1px solid #e5e9ee;background:#fff;text-align:center;white-space:nowrap}.needs-table thead th{position:sticky;top:0;z-index:5;height:42px;background:#e8edf3;color:#4e5b69;font-weight:500}.needs-table th:first-child,.needs-table td:first-child{position:sticky;left:0;z-index:3;color:#949aa0;font-size:9px}.needs-table th:nth-child(2),.needs-table td:nth-child(2){position:sticky;left:62px;z-index:3;text-align:left;box-shadow:1px 0 #dce1e7}.needs-table td:nth-child(2) strong{overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:500}.needs-table thead th:first-child,.needs-table thead th:nth-child(2){z-index:7}.needs-table .need-group-爵{background:#fbf1ee}.needs-table .need-group-土{background:#ebf0f5}.needs-table .need-group-马{background:#e9f1fb}.needs-table .need-group-判{background:#edf4f9}.needs-table .need-group-天{background:#e9f1fa}.needs-table thead .need-group-爵{background:#f6e5df}.needs-table thead .need-group-土{background:#e0e7ee}.needs-table thead .need-group-马{background:#d7e5f5}.needs-table thead .need-group-判{background:#e3edf4}.needs-table thead .need-group-天{background:#d8e5f3}.need-cell{width:100%;height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;border:0;background:transparent;color:#424d5a;cursor:pointer}.need-cell:hover{background:#ffffff80}.need-cell strong{font-size:12px;font-weight:500}.need-cell small{color:#818a94;font-size:8px}.need-cell.empty{color:#b1b6bc}.need-cell.complete strong{color:#395371}.need-cell:disabled{cursor:default}.need-cell:disabled:hover{background:transparent}.needs-table tfoot td{position:sticky;bottom:0;z-index:4;height:43px;background:#eff2f6;color:#4d5967}.needs-table tfoot td:first-child,.needs-table tfoot td:nth-child(2){z-index:6}.needs-table tfoot strong{display:block;font-size:9px;font-weight:600}.needs-table tfoot small{display:block;margin-top:4px;color:#8b9299;font-size:8px}.need-edit-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.need-edit-summary span{padding:12px 14px;border:1px solid #e0e5ea;border-radius:7px;background:#f4f6f9;color:#898f95;font-size:10px}.need-edit-summary strong{display:block;margin-top:5px;color:#3f5063;font-size:18px}.need-edit-note{margin:18px 0 0}

.need-delete-button{margin-right:auto}

.need-cell{cursor:default;gap:0}.need-cell:hover{background:#ffffff80}.need-count{flex:1;width:100%;min-height:27px;display:grid;place-items:center;padding:3px 0 0;border:0;background:transparent;color:inherit;cursor:pointer}.need-count:disabled{cursor:default}.need-history{padding:0 0 5px;border:0;background:transparent;color:#818a94;font-size:8px;cursor:pointer}.need-history:hover{color:#31465f;text-decoration:underline;text-underline-offset:2px}.need-history-list{max-height:390px;overflow-y:auto;border:1px solid #e2e6eb;border-radius:7px;scrollbar-width:thin}.need-history-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:0;border-bottom:1px solid #eaedf1;background:#fff;color:#535c66;text-align:left;cursor:pointer}.need-history-row:last-child{border-bottom:0}.need-history-row:hover{background:#f2f5f8}.need-history-row strong{display:block;font-size:11px;font-weight:500}.need-history-row small{display:block;margin-top:4px;color:#989da2;font-size:9px}.need-history-row>span:last-child{display:flex;align-items:center;gap:6px;color:#667381;font-size:10px}.need-history-row svg{width:13px;height:13px}

.need-cell{cursor:pointer;gap:4px}.need-cell:disabled{cursor:default}.need-history-summary{padding:12px 14px;border:1px solid #e0e5ea;border-radius:7px;background:#f4f6f9;color:#898f95;font-size:10px;text-align:left;cursor:pointer}.need-history-summary:hover{border-color:#a4b0bd;background:#ebf0f6}.need-history-summary small{display:block;margin-top:5px;color:#7e8894;font-size:9px}

.need-cell{transition:background .15s,box-shadow .15s}.need-cell strong{font-size:16px;font-weight:650;line-height:1.1}.need-cell small{font-size:9px;color:#64707d}.need-cell.empty{color:#606871}.need-cell.empty strong{color:#687079}.need-cell:hover{background:#f6f9fc;box-shadow:inset 0 0 0 1px #8395a9}.need-cell.complete strong{color:#2f4b6b}

.needs-table tbody td.need-group-爵,.needs-table tbody td.need-group-土,.needs-table tbody td.need-group-马,.needs-table tbody td.need-group-判,.needs-table tbody td.need-group-天{background:#fff}.need-cell{gap:5px}.need-cell strong{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 6px;border-radius:5px;background:#e4ebf3;color:#354a63;font-size:14px;font-weight:650}.need-cell.empty strong{background:#f0f2f4;color:#898e94;font-weight:500}.need-cell small{color:#a0a5aa;font-size:8px;font-weight:400}.need-cell.complete strong{background:#dce5ef;color:#2f4b6b}.need-cell:hover{background:#f8fafc;box-shadow:inset 0 0 0 1px #9eaab8}

.needs-page{overflow:hidden}.needs-page .page-content{height:calc(100vh - 72px);min-height:0;display:flex;flex-direction:column;justify-content:center}.needs-page .page-heading,.needs-page .notice{flex:none}.needs-page .needs-panel{flex:1;min-height:0;display:flex;flex-direction:column}.needs-page .needs-panel .panel-head{flex:none}.needs-page .needs-panel .table-scroll{flex:1;min-height:0;max-height:none;overflow:auto}.needs-table{width:100%;min-width:0;table-layout:fixed}.needs-table th:nth-child(2),.needs-table td:nth-child(2){left:44px}.needs-table thead th{font-size:9px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}.needs-table td:nth-child(2) strong{font-size:9px}.need-cell.empty strong{min-width:0;height:24px;padding:0;background:transparent}.need-cell small{font-size:9px;color:#7e858d;white-space:nowrap}@media(max-width:900px){.needs-page .page-content{height:calc(100vh - 62px)}.needs-table{min-width:850px}.needs-page .needs-panel .table-scroll{overflow:auto}}

.needs-page .needs-panel .table-scroll{overflow-x:hidden}.needs-table td{overflow:hidden}.needs-table tbody td{height:58px}.need-cell{height:57px;overflow:hidden;gap:3px}.need-cell small{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.25}.need-cell.empty strong{height:20px}@media(max-width:900px){.needs-page .needs-panel .table-scroll{overflow-x:auto}}

.need-cell small span,.need-cell small b{display:block;font-weight:400;white-space:nowrap}.need-cell small{line-height:1.3}

.need-cell small b{font-size:8px;letter-spacing:-.3px}

.needs-table th:first-child,.needs-table td:first-child{font-size:10px}.needs-table td:nth-child(2) strong{font-size:10px}.needs-table thead th{font-size:10px}.need-cell small{font-size:9px}.need-cell small b{font-size:9px;letter-spacing:-.7px}

.needs-table th:nth-child(2),.needs-table td:nth-child(2){left:42px}.needs-table thead th{height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}.needs-table tbody td{height:44px}.need-cell{height:43px;gap:2px}.need-cell.empty strong{height:20px}.need-cell small{display:flex;align-items:center;justify-content:center;gap:2px;white-space:nowrap;line-height:1.2;color:#899097}.need-cell small b{display:inline;color:#384c63;font-size:11px;font-weight:700;letter-spacing:0}

@media(max-width:900px){.needs-table{min-width:0}.need-cell small{font-size:0;gap:0}.need-cell small b{font-size:11px;letter-spacing:0}}

.needs-table th,.needs-table td{border-right-color:#eef0f2;border-bottom-color:#e7eaee}.need-cell strong{min-width:0;height:24px;padding:0;background:transparent;color:#31465d;font-size:16px;font-weight:650}.need-cell.complete strong{background:transparent;color:#31465d}.need-cell.empty strong{background:transparent}.need-cell small{color:#8b9299}.need-cell small b{color:#354b64}.need-cell.no-history small{color:#b4b8bc}.need-cell.no-history small b{color:#a6aaaf;font-weight:500}.need-cell:hover{background:#f5f7fa;box-shadow:inset 0 0 0 1px #adb8c4}.needs-table tbody tr:hover td{background-color:#f9fafc}.needs-table tbody tr:hover td.need-group-爵,.needs-table tbody tr:hover td.need-group-土,.needs-table tbody tr:hover td.need-group-马,.needs-table tbody tr:hover td.need-group-判,.needs-table tbody tr:hover td.need-group-天{background:#f9fafc}

.needs-page .needs-panel .table-scroll{overflow:auto}.needs-table{width:max-content;min-width:100%;table-layout:fixed}.needs-table th:nth-child(2),.needs-table td:nth-child(2){left:32px}.needs-table tbody td{height:68px}.need-cell{height:67px;gap:7px}.need-cell strong{min-width:34px;height:28px;padding:0 8px;border:1px solid #94a4b7;border-radius:6px;background:#ffffffb8;color:#31465d;font-size:15px;font-weight:650}.need-cell.complete strong{background:#ffffffb8}.need-cell.empty strong{min-width:0;height:28px;padding:0;border-color:transparent;background:transparent}.need-cell small{gap:4px;padding-top:5px;border-top:1px solid #4b566312;font-size:10px;color:#7d848d}.need-cell small b{font-size:12px;color:#31465f;font-weight:700}.need-cell.no-history small{color:#989da3}.need-cell.no-history small b{color:#8e949b;font-weight:500}.needs-table tbody td.need-group-爵{background:#fcf2ef}.needs-table tbody td.need-group-土{background:#edf1f6}.needs-table tbody td.need-group-马{background:#e9f2fc}.needs-table tbody td.need-group-判{background:#eef5fa}.needs-table tbody td.need-group-天{background:#e9f1fa}.needs-table tbody tr:hover td.need-group-爵{background:#f9e9e4}.needs-table tbody tr:hover td.need-group-土{background:#e2e9f1}.needs-table tbody tr:hover td.need-group-马{background:#d8e7f8}.needs-table tbody tr:hover td.need-group-判{background:#e5eff6}.needs-table tbody tr:hover td.need-group-天{background:#dbe7f5}

.need-cell{gap:8px}.need-cell strong,.need-cell.complete strong,.need-cell.empty strong{min-width:0;height:24px;padding:0;border:0;background:transparent;color:#415368;font-size:14px;font-weight:500}.need-cell.empty strong{color:#a7adb3}.need-cell small{display:block;padding:0;border:0;font-size:9px;line-height:1.2;white-space:nowrap;color:#7f8790}.need-cell.no-history small{color:#949ba2}

.needs-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 14px;border-bottom:1px solid #e5e9ee;flex:none}.needs-toolbar>label{color:#7f868d;font-size:10px}.needs-toolbar .select-wrap select{min-width:170px}

.needs-toolbar{justify-content:flex-start}

.needs-table td.need-group-爵 .need-cell:hover{box-shadow:inset 0 0 0 1px #c6a397}.needs-table td.need-group-土 .need-cell:hover{box-shadow:inset 0 0 0 1px #94a4b7}.needs-table td.need-group-马 .need-cell:hover{box-shadow:inset 0 0 0 1px #7599c3}.needs-table td.need-group-判 .need-cell:hover{box-shadow:inset 0 0 0 1px #8faaba}.needs-table td.need-group-天 .need-cell:hover{box-shadow:inset 0 0 0 1px #84a0c0}

.material-card{min-height:120px}.material-card-stats{grid-column:1/-1;grid-row:2;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid #eceff3}.material-card-stats .material-price{margin:0;padding:0;border:0;font-size:22px}.material-shipments{color:#8c9299;font-size:9px;white-space:nowrap;padding-bottom:2px}.material-shipments strong{margin:0 2px;color:#4c5b6d;font-size:13px;font-weight:650}

.material-ledger{display:grid;gap:16px}.material-ledger-group{overflow:hidden;border:1px solid #e1e5ea;border-radius:9px;background:#fff}.material-ledger-head{width:100%;display:flex;align-items:center;gap:13px;padding:14px 17px;border:0;background:#f6f8fa;color:#414b56;text-align:left;cursor:pointer}.material-ledger-head:hover{background:#f0f3f7}.material-stage-mark{width:27px;height:27px;display:grid;place-items:center;border-radius:5px;background:#e0e6ed;color:#546271;font-size:11px;font-weight:650}.material-ledger-boss{flex:1}.material-ledger-boss strong{display:block;font-size:13px;font-weight:600}.material-ledger-boss small{display:block;margin-top:4px;color:#969ba1;font-size:9px}.material-ledger-total{color:#848b92;font-size:10px;white-space:nowrap}.material-ledger-head>svg{width:15px;height:15px;color:#868d94;transition:transform .15s}.material-ledger-head[aria-expanded="false"]>svg{transform:rotate(-90deg)}.material-stage-爵 .material-ledger-head{background:#faf1ee}.material-stage-爵 .material-stage-mark{background:#efd8d1;color:#9b695a}.material-stage-土 .material-ledger-head{background:#ebf0f5}.material-stage-土 .material-stage-mark{background:#d2dce8;color:#4c6076}.material-stage-马 .material-ledger-head{background:#e6effa}.material-stage-马 .material-stage-mark{background:#bbd3ee;color:#3f648e}.material-stage-判 .material-ledger-head{background:#edf4f9}.material-stage-判 .material-stage-mark{background:#d9e7f0;color:#53798d}.material-stage-天 .material-ledger-head{background:#e7f0fa}.material-stage-天 .material-stage-mark{background:#c6d9ee;color:#436790}.material-ledger-body.collapsed{display:none}.material-ledger-columns,.material-ledger-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 140px 34px;align-items:center;gap:12px;padding:0 18px}.material-ledger-columns{height:34px;border-top:1px solid #e3e7ec;border-bottom:1px solid #e3e7ec;background:#fbfcfd;color:#9a9fa4;font-size:9px}.material-ledger-columns span:nth-child(2),.material-ledger-columns span:nth-child(3){text-align:right}.material-ledger-row{min-height:49px;border-bottom:1px solid #eaedf1}.material-ledger-row:last-child{border-bottom:0}.material-ledger-row:hover{background:#f8fafc}.material-ledger-row>strong{color:#4f5761;font-size:11px;font-weight:500}.material-ledger-price{text-align:right;color:#4c5968;font-size:12px;font-weight:550}.material-ledger-price small{color:#969ba1;font-size:9px;font-weight:400}.material-shipments{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;width:100%;padding:5px 0;border:0;background:transparent;color:#4f6074;font-size:11px;cursor:pointer}.material-shipments:hover{color:#28405c;text-decoration:underline;text-underline-offset:3px}.material-shipments svg{width:13px;height:13px}.material-ledger-row .icon-button{width:30px;height:30px}.material-ledger-row .icon-button svg{width:13px;height:13px}.material-shipment-list{max-height:480px;overflow-y:auto;border:1px solid #e2e6eb;border-radius:8px;scrollbar-width:thin}.material-shipment-row{width:100%;display:grid;grid-template-columns:145px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:13px 15px;border:0;border-bottom:1px solid #eaedf1;background:#fff;color:#525b66;text-align:left;cursor:pointer}.material-shipment-row:last-child{border-bottom:0}.material-shipment-row:hover{background:#f3f6f9}.shipment-detail-date strong{display:block;font-size:11px;font-weight:600}.shipment-detail-date small{display:block;margin-top:5px;color:#959aa0;font-size:9px}.shipment-detail-recipients strong{display:block;color:#47586b;font-size:10px;font-weight:600}.shipment-detail-recipients small{display:block;margin-top:5px;color:#878d94;font-size:9px;line-height:1.6;overflow-wrap:anywhere}.material-shipment-row>svg{width:14px;height:14px;color:#8a919a}@media(max-width:600px){.material-ledger-head{gap:9px;padding:12px}.material-ledger-total{font-size:9px}.material-ledger-columns,.material-ledger-row{grid-template-columns:minmax(0,1fr) 65px 70px 28px;gap:6px;padding:0 10px}.material-shipment-row{grid-template-columns:1fr;gap:8px}.material-shipment-row>svg{display:none}}

.material-shipment-head,.material-shipment-row{display:grid;grid-template-columns:135px minmax(0,1fr) 110px;align-items:center;gap:14px;padding:0 15px}.material-shipment-head{position:sticky;top:0;z-index:2;height:35px;background:#f2f5f8;border-bottom:1px solid #e0e5eb;color:#8a9097;font-size:9px}.material-shipment-row{min-height:45px;padding-top:0;padding-bottom:0}.shipment-detail-date{color:#434e5b;font-size:11px;font-weight:500}.shipment-detail-person{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#646b74;font-size:10px}.shipment-detail-link{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#4e5f73;font-size:10px;white-space:nowrap}.shipment-detail-link svg{width:13px;height:13px}@media(max-width:600px){.material-shipment-head,.material-shipment-row{grid-template-columns:100px minmax(65px,1fr) 82px;gap:8px;padding-left:11px;padding-right:11px}.shipment-detail-date{font-size:10px}.shipment-detail-link{font-size:9px}}

.material-ledger{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.material-ledger-columns,.material-ledger-row{grid-template-columns:minmax(0,1fr) 70px 72px;gap:8px;padding-left:13px;padding-right:13px}.material-ledger-head{padding:13px 12px;gap:9px}.material-ledger-boss strong{font-size:11px}.material-ledger-total{font-size:9px}.material-ledger-price{border:0;background:transparent;cursor:pointer}.material-ledger-price:disabled{cursor:default}.material-ledger-price:not(:disabled):hover{color:#243e5b;text-decoration:underline;text-underline-offset:3px}@media(max-width:1200px){.material-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.material-ledger{grid-template-columns:1fr}}

.permission-error{min-height:16px;margin:10px 0 0;color:#b24e41;font-size:10px;line-height:1.6}

.attendance-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #ebedf0}.attendance-summary:last-child{border-bottom:0}.attendance-summary>strong{color:#424b56;font-size:11px;font-weight:500}.attendance-summary>span{color:#6f7780;font-size:11px}.attendance-summary .text-button{color:#4c5d70;font-size:10px}.attendance-members-list{max-height:420px;overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;scrollbar-width:thin}.attendance-members-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid #e2e6eb;border-radius:6px;background:#f9fafb}.attendance-members-list strong{font-size:11px;font-weight:500}.attendance-members-list small{color:#989da2;font-size:9px}

.form-field[hidden]{display:none}

.password-change-button{width:100%;margin-top:16px}

.attendance-summary{width:100%;border:0;border-bottom:1px solid #ebedf0;background:transparent;text-align:left;cursor:pointer}.attendance-summary:hover{background:#f1f4f8}.attendance-summary strong small{margin-left:6px;color:#989da2;font-size:9px;font-weight:400}.attendance-detail-label{color:#4c5d70;font-size:10px}

.attendance-members-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}.attendance-members-list>div{padding:12px 4px;border:0;border-bottom:1px solid #eaedf1;background:transparent}@media(max-width:600px){.attendance-members-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}}

.record-material-filter{display:block;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.record-material-filter:hover strong{color:#284362;text-decoration:underline;text-underline-offset:3px}


.cloud-loading{padding:70px 20px;text-align:center;color:#71859e;font-size:12px}

.sidebar{background:#12345b;color:#dce9f8}
.brand-mark{border-color:#47698f;background:linear-gradient(145deg,#244f7d,#173b63);color:#bfdbfe}
.brand strong{color:#f8fbff}.brand span,.workspace-label{color:#9fb8d6}
.nav-item{color:#c6d9ed}.nav-item:hover{background:#ffffff12;color:#fff}.nav-item.active{color:#fff;background:#245586;box-shadow:inset 3px 0 #7fb6f7}.nav-item svg{color:#bed8f3}.nav-item em{color:#b7cee5}
.private-card{width:100%;border-color:#365a7f;background:#193f67;color:inherit;font:inherit;text-align:left;cursor:pointer}.private-card:hover{background:#214b77}button.profile{border-right:0;border-bottom:0;border-left:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;width:100%}button.profile:hover{background:#ffffff08}.private-card strong{color:#e1efff}.private-card p{color:#a5bdd7}
.profile{border-color:#365a7f}.profile-avatar{background:#326897;color:#eff7ff}.profile span,.profile>svg{color:#a5bdd7}
.button-primary{background:#2563eb;border-color:#2563eb;box-shadow:0 2px 4px #1d4ed820}.button-primary:hover{background:#1d4ed8;box-shadow:0 4px 12px #1d4ed825}
.stat-card:first-child{background:linear-gradient(110deg,#fff 40%,#eff6ff)}.stat-icon{background:#eff6ff;color:#3b82f6}
.modal-backdrop{background:#0f274acc}.mini-modal-backdrop{background:#0f274a66}.member-picker-backdrop{background:#0f274ae8}
.toast{background:#174a7c;box-shadow:0 8px 24px #174a7c30}.toast svg{color:#bfdbfe}
.brand{gap:10px;padding:0 2px 36px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;width:100%}.brand:hover .brand-mark{border-color:#93c5fd}.brand-mark{width:40px;height:40px;flex:none}.brand strong{font-size:18px;letter-spacing:.2px;white-space:nowrap}
.table-sort-button{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.table-sort-button:hover{color:#2563eb}.table-sort-button .sort-arrows{display:inline-flex;align-items:center;color:#a7b3c2;font-size:14px;line-height:1;font-weight:500}.table-sort-button .sort-arrows.active{color:#2563eb}
.member-number{min-width:24px;text-align:right;color:#94a3b8;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;flex:none}
.data-table .badge{min-width:44px;padding:4px 7px;font-size:10px;font-weight:700;line-height:1.2}
.data-table .badge.formal{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}
.data-table .badge.sub{background:#fff3d6;border-color:#eac772;color:#946200}
.data-table .badge.left{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}
.stat-link{width:100%;text-align:left;cursor:pointer}.stat-link:hover{border-color:#93c5fd;box-shadow:0 6px 16px #2563eb12}
.group-need-list{display:grid;gap:10px}.group-need-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:center;gap:15px;padding:12px 14px;border:1px solid #dbe7f5;border-radius:7px;background:#f8fbff}.group-need-row strong{display:block;color:#334155;font-size:12px;font-weight:600}.group-need-row small{display:block;margin-top:5px;color:#64748b;font-size:10px}.group-need-row label{display:grid;gap:6px;color:#64748b;font-size:10px}.group-need-row input{width:100%;height:36px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#1e293b;padding:0 9px;font-size:12px;outline:0}.group-need-row input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #2563eb12}.group-need-row input[aria-invalid="true"]{border-color:#dc2626;background:#fef2f2}
.needs-table thead th{font-size:11px}
.needs-table th:first-child,.needs-table td:first-child{font-size:11px}
.needs-table td:nth-child(2) strong{font-size:12px}
.need-cell strong,.need-cell.complete strong,.need-cell.empty strong{font-size:18px;font-weight:650}
.need-cell small{font-size:11px;color:#64748b}
.need-cell small b{font-size:12px}
.need-cell{border-radius:7px}.need-cell:hover{box-shadow:inset 0 0 0 1px #93c5fd}.need-cell:active,.need-cell:focus,.need-cell:focus-visible{background:#fff}.need-cell:focus-visible{outline:2px solid #60a5fa;outline-offset:-3px;border-radius:7px}
.needs-table th.need-group-爵,.needs-table td.need-group-爵{background:#fefaf8}.needs-table thead th.need-group-爵{background:#fbf0ec;color:#8f4d3d}
.needs-table th.need-group-土,.needs-table td.need-group-土{background:#f8fbf6}.needs-table thead th.need-group-土{background:#eef6e9;color:#3f6e3b}
.needs-table th.need-group-马,.needs-table td.need-group-马{background:#fffcf4}.needs-table thead th.need-group-马{background:#faf3df;color:#80621e}
.needs-table th.need-group-判,.needs-table td.need-group-判{background:#f7faff}.needs-table thead th.need-group-判{background:#eaf2fa;color:#365f8d}
.needs-table th.need-group-天,.needs-table td.need-group-天{background:#faf8fd}.needs-table thead th.need-group-天{background:#f0eafa;color:#654d91}
.needs-table tbody td.need-group-爵{background:#fefaf8!important}.needs-table tbody td.need-group-土{background:#f8fbf6!important}.needs-table tbody td.need-group-马{background:#fffcf4!important}.needs-table tbody td.need-group-判{background:#f7faff!important}.needs-table tbody td.need-group-天{background:#faf8fd!important}
.needs-table th,.needs-table td{border-right-color:#e8edf2!important;border-bottom-color:#e8edf2!important}.needs-table th:nth-child(2),.needs-table td:nth-child(2){box-shadow:1px 0 #e8edf2}
.need-cell{margin:4px;width:calc(100% - 8px);height:calc(100% - 8px)}
.permission-options{grid-template-columns:repeat(3,minmax(0,1fr))}.permission-options button strong,.permission-options button span{white-space:nowrap}@media(max-width:600px){.permission-options{grid-template-columns:1fr;gap:10px}.permission-options>button:nth-child(3){grid-column:auto;width:auto;justify-self:stretch}.permission-options button{min-height:72px;align-items:center}.permission-options button strong,.permission-options button span{white-space:nowrap}}
.scorer-mode [data-action="add-member"],.scorer-mode [data-action="edit-member"],.scorer-mode [data-action="delete-member"],.scorer-mode [data-action="invite-member"],.scorer-mode [data-action="add-material"],.scorer-mode [data-action="edit-material"],.scorer-mode [data-action="add-attendance"],.scorer-mode [data-action="edit-attendance"],.scorer-mode [data-action="ignore-attendance"],.scorer-mode [data-action="import-json"],.scorer-mode [data-action="reset-data"]{display:none!important}
.material-stage-爵{background:#fdf4f1}.material-stage-爵 .material-ledger-head{background:#f9e8e3}.material-stage-爵 .material-stage-mark{background:#efd8d1;color:#9b695a}
.material-stage-土{background:#f1f8ee}.material-stage-土 .material-ledger-head{background:#e3f0dc}.material-stage-土 .material-stage-mark{background:#d2e9c9;color:#3f6e3b}
.material-stage-马{background:#fff8e5}.material-stage-马 .material-ledger-head{background:#f7edcc}.material-stage-马 .material-stage-mark{background:#f4e3ac;color:#80621e}
.material-stage-判{background:#f0f6fd}.material-stage-判 .material-ledger-head{background:#e1ecf8}.material-stage-判 .material-stage-mark{background:#cfe1f5;color:#365f8d}
.material-stage-天{background:#f5f1fc}.material-stage-天 .material-ledger-head{background:#e9e1f5}.material-stage-天 .material-stage-mark{background:#dfd3f2;color:#654d91}
.material-ledger-group{background:#fff}.material-ledger-group .material-ledger-columns{background:#f8fafc}.material-ledger-group .material-ledger-row{background:#fff}
.records-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid #edf0f4;color:#8a96a5;font-size:11px}.records-pagination>div{display:flex;align-items:center;gap:6px}.pagination-page{width:30px;height:30px;flex:none;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;font-size:11px}.pagination-page:hover{background:#eff6ff;color:#2563eb}.pagination-page.active{border-color:#2563eb;background:#2563eb;color:#fff}.records-pagination button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:600px){.records-pagination{align-items:flex-start;flex-direction:column;gap:10px}.records-pagination>div{max-width:100%;overflow-x:auto}}
.member-login-form{display:grid;gap:12px;margin-top:16px}.icon-button[hidden]{display:none}.need-cell:disabled{opacity:.72}body.modal-open{overflow:hidden}.modal-backdrop,.member-picker-backdrop,.mini-modal-backdrop,.modal,.member-picker-page,.mini-modal-card{overscroll-behavior:contain}
.needs-table th:first-child,.needs-table td:first-child{padding-left:2px;padding-right:2px}
.material-other-panel{margin-top:16px}.material-other-panel>.material-ledger-head{background:#eef5ff}.material-other-panel>.material-ledger-head .material-stage-mark{background:#d4e5fa;color:#35679f}
.material-other-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px;background:#f8fafc}.material-other-section{overflow:hidden;border:1px solid #e1e8f0;border-radius:8px;background:#fff}.material-other-title{display:flex;align-items:center;gap:10px;padding:12px 13px;border-bottom:1px solid #e7edf4;background:#f5f9ff}.material-other-title strong{flex:1;color:#334155;font-size:12px}.material-other-title>span:last-child{color:#7c8da1;font-size:9px;white-space:nowrap}.material-other-empty{padding:24px;text-align:center;color:#94a3b8;font-size:11px}@media(max-width:800px){.material-other-body{grid-template-columns:1fr}}
