*{box-sizing:border-box}html{font-size:14px}body{margin:0;color:#26382f;background:#f5f7f5;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(56,112,79,.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:#d8e2d9;background:#102b20;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 #52634d;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#243b29,#152f23);color:#d7dfaa;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:#f4f7ed}.brand span{display:block;font-size:11px;letter-spacing:2.1px;color:#9bac9b;margin-top:7px}.workspace-label{font-size:12px;color:#829889;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:#c2d0c4;text-align:left;transition:background .18s,color .18s}.nav-item:hover{background:#ffffff09;color:#fff}.nav-item.active{color:#f4f6dd;background:#294332;box-shadow:inset 3px 0 #c8d58c}.nav-item svg{width:19px;height:19px;color:#c5d4bd}.nav-item span{flex:1}.nav-item em{font-size:11px;font-style:normal;color:#b8c7ba}.sidebar-bottom{margin-top:auto}.private-card{border:1px solid #385044;border-radius:8px;padding:17px 13px;margin:0 2px 24px;background:#173328}.private-card strong{display:flex;align-items:center;gap:8px;font-size:13px;color:#d6e1d4}.private-card svg{width:17px;height:17px}.private-card p{font-size:11px;line-height:1.8;color:#91a598;margin:8px 0 0}.profile{border-top:1px solid #385044;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:#50654a;color:#e5ead7}.profile strong{display:block;font-size:12px}.profile span{display:block;font-size:10px;color:#8da092;margin-top:4px}.profile>svg{margin-left:auto;width:17px;color:#91a58f}.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 #e9edE8;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:#9ba49e}.breadcrumbs b{font-weight:400;color:#c4cbc5}.breadcrumbs strong{font-weight:500;color:#4b5750}.top-actions{display:flex;align-items:center;gap:18px;color:#819087;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 #e4e9e3;border-radius:18px;background:#fbfcfa;color:#6e7e71;padding:7px 12px}.mobile-menu{display:none!important}.page-content{padding:38px 42px 60px;max-width:1720px;margin:0 auto}.page-kicker{color:#8d9990;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:#1e3328;font-weight:700}.page-heading p{margin:0;color:#869288;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:#286245;color:#fff;border-color:#286245;box-shadow:0 2px 4px #1b4f3020}.button-primary:hover{background:#20553b;box-shadow:0 4px 12px #1b4f3025}.button-secondary{background:#fff;border-color:#e3e8e2;color:#46554b}.button-secondary:hover{background:#fafcf9;border-color:#cdd8ce}.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:#8a978d;display:inline-grid;place-items:center;padding:0}.icon-button:hover{background:#f0f4ee;color:#315b42}.icon-button svg{width:17px;height:17px}.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-bottom:26px}.balance-card{text-align:left;width:100%;cursor:pointer}.balance-card:hover{border-color:#c8d8c5;box-shadow:0 6px 16px #263d2b08}.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 #edf1ea;background:#fff;text-align:left;color:#5a695d}.balance-issue-list>button:hover{background:#fafbf8}.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:#9aa49b;margin-top:4px}.balance-issue-list b{font-size:10px;color:#a55444;white-space:nowrap}.balance-issue-list svg{width:14px;height:14px;color:#95a096}.stat-card{height:155px;background:#fff;border:1px solid #e8ece6;border-radius:10px;padding:27px 23px;position:relative;box-shadow:0 4px 10px #263d2b03}.stat-card:first-child{background:linear-gradient(110deg,#fff 40%,#f6faee)}.stat-label{font-size:12px;color:#7d897f}.stat-icon{position:absolute;right:21px;top:22px;width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#f4f7ed;color:#91a17e}.stat-icon svg{width:20px;height:20px}.stat-value{font-size:31px;font-weight:650;letter-spacing:-.6px;color:#263b2e;margin-top:14px;line-height:1.1}.stat-value.positive{color:#527b44}.stat-value small{font-size:12px;font-weight:400;color:#8b958c;margin-left:5px;letter-spacing:0}.stat-foot{font-size:11px;color:#919b92;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 #e6ebe4;border-radius:10px;box-shadow:0 3px 10px #263d2b03;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:#2c3d33}.panel-title-line h2 span{font-size:11px;font-weight:400;color:#909a91;margin-left:8px}.panel-title-line>svg{color:#a69b63;width:23px;height:23px}.panel-description{font-size:11px;color:#929b93;margin:8px 0 0}.text-button{border:0;background:transparent;color:#6c7b6e;font-size:11px;padding:4px}.text-button:hover{color:#286245}.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:#78867a;border-radius:5px;font-size:12px}.filter-tab:hover{background:#f4f7f2}.filter-tab.active{background:#edf3e9;color:#365f43;font-weight:600}.search-box{height:37px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e2e7df;border-radius:6px;padding:0 11px;color:#99a39a;min-width:0;flex:1}.search-box:focus-within{border-color:#91ad97;box-shadow:0 0 0 3px #365f430a}.search-box svg{width:15px;height:15px}.search-box input{border:0;outline:0;background:transparent;width:100%;min-width:0;color:#34483a;font-size:11px}.search-box input::placeholder{color:#a4ada5}.select-wrap{position:relative;flex:none}.select-wrap select{height:37px;min-width:139px;appearance:none;border:1px solid #e2e7df;border-radius:6px;background:#fff;color:#6f7e71;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:#879489}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;white-space:nowrap}.data-table th{height:42px;background:#f8faf6;color:#869187;font-size:11px;font-weight:500;text-align:left;padding:0 22px;border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb}.data-table td{height:69px;padding:0 22px;border-bottom:1px solid #edf0eb;color:#5e6b61;font-size:12px}.data-table tbody tr{transition:background .15s}.data-table tbody tr:hover{background:#fbfcfa}.data-table tbody tr:last-child td{border-bottom:0}.rank{font-weight:600;color:#68746b;display:inline-flex;align-items:center;gap:4px;min-width:28px}.rank svg{width:15px;height:15px}.rank.gold{color:#a89146}.rank.silver{color:#8a9a90}.rank.bronze{color:#aa8261}.member-cell{display:flex;align-items:center;gap:11px;color:#35463a}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#edf2ea;color:#83927e;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:#a0aaa2;margin-top:4px}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:36px;border:1px solid #c4ddba;border-radius:4px;padding:3px 6px;font-size:9px;font-weight:650;line-height:1;background:#e2f1dc;color:#3f7142}.badge.sub{background:#f0f2eb;color:#81896c}.badge.left{background:#f9ded8;border-color:#eab9af;color:#a64438}.points-positive{color:#53794c;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 #bfd9b5;border-radius:4px;background:#e3f1df;color:#2f6b3b;font-size:11px;line-height:1.2;font-weight:700}.points-current.negative{background:#fbe2dc;border-color:#edb9ae;color:#b34335}.points-current.zero{background:#eff1ee;border-color:#dce1db;color:#717a73}.empty-state{text-align:center;padding:58px 20px!important;color:#99a49b!important}.empty-state svg{width:32px;height:32px;margin-bottom:10px;color:#b7c1b7}.recent-panel{min-height:450px}.recent-list{padding:0 23px}.recent-item{padding:15px 0 17px;border-bottom:1px solid #edf0eb}.recent-item:last-child{border-bottom:0}.recent-title{display:flex;align-items:center;gap:10px;color:#435448;font-size:12px}.recent-title .material-icon{width:30px;height:30px}.recent-date{font-size:10px;color:#99a199;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 #edf0eb}.attendance-item:last-child{border-bottom:0}.attendance-date{display:flex;align-items:center;gap:8px;color:#405548}.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:#94a093}.attendance-count{margin:8px 0 6px 36px;font-size:10px;color:#829080}.attendance-count strong{color:#426b47;font-size:12px}.attendance-item p{margin:0 0 0 36px;color:#879489;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:#f2f6eb;color:#91a477;flex:none}.material-icon svg{width:17px;height:17px}.material-icon.link{background:#f0f3ee;color:#8a998b}.notice{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#f4f8ed,#f8faf5);border:1px solid #e8eedf;color:#79856f;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:#8b968d;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:#435348}.record-material small{display:block;margin-top:11px;color:#9ca49d;font-size:10px}.change-line{display:flex;align-items:center;gap:9px;font-size:11px;margin:4px 0}.change-tag{padding:3px 6px;background:#edf4e9;color:#7e946d;border-radius:3px;font-size:10px}.change-tag.minus{background:#fbf2e9;color:#b19570}.change-person{color:#637167}.record-material-link{display:inline-block;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.record-material-link:hover strong{color:#286245;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:#577a50}.record-points .negative{display:block;color:#a46c4e}.store-points{text-align:right;color:#68776b;font-size:11px}.record-actions{text-align:right}.record-actions .icon-button{display:inline-grid}.record-actions [data-action="delete-record"]:hover{background:#fff0ec;color:#b05245}.full-panel .panel-head{padding-bottom:13px}.member-count{font-size:11px;color:#99a29a;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:#a0a99f;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 #e3e9d9;border-radius:5px;background:#f7f9ef;display:grid;place-items:center;color:#a5ad87;font-size:11px;margin-right:9px}.group-heading h2{font-size:14px;margin:0;color:#3a4d40}.group-heading>span:last-child{margin-left:auto;font-size:10px;color:#8d998f}.material-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.material-card{background:linear-gradient(145deg,#fff,#fcfdfb);border:1px solid #e2e9df;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:#c8d8c7;box-shadow:0 5px 14px #2b49300a}.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:#526257;margin:0}.material-price{grid-column:1/-1;grid-row:2;margin-top:11px;padding-top:9px;border-top:1px solid #eff3ec;font-size:22px;line-height:1;color:#426647;font-weight:650}.material-price small{font-size:10px;font-weight:400;color:#9aa399;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:#fff7df}.attendance-table th.mismatch{background:#fbe5df}.attendance-table th.ignored{background:#edf1eb}.attendance-state-dot{position:absolute;right:3px;top:3px;width:5px;height:5px;border-radius:50%;background:#b39a4c}.attendance-table th.mismatch .attendance-state-dot{background:#b75d4a}.attendance-table th.ignored .attendance-state-dot{background:#8c998b}.attendance-compare{padding:11px 13px;border:1px solid #e1e8dc;border-radius:7px;background:#f5f8f1;margin-bottom:17px}.attendance-compare.mismatch{border-color:#ecc8bc;background:#fff4ef}.attendance-compare strong{font-size:11px;color:#4d624c}.attendance-compare p{font-size:10px;line-height:1.8;color:#7c897e;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 #edf1ea;border-bottom:1px solid #edf1ea;background:#fff;white-space:nowrap}.attendance-table th{position:sticky;top:0;z-index:5;background:#edf3e8;color:#52694e;font-weight:600;text-align:left}.attendance-table thead th{height:46px;min-height:46px;max-height:46px;border-bottom:1px solid #dce6d6}.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 #dfe7dc}.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:#496342}.attendance-table th.attendance-day small{display:block;font-size:9px;color:#7d8e74;margin-top:4px;line-height:1}.attendance-id{color:#98a39a;font-size:9px}.attendance-count-cell{font-weight:700;color:#426b47}.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:#b3bcb2}.attendance-day.present{background:#e7f1df!important;color:#386c43;font-weight:700}.attendance-day.weekend{background:#f1f2ef!important;color:#b4bab2!important}.attendance-total{font-size:12px;color:#426b47}.attendance-table tfoot td{background:#f1f5eb;color:#506b4e;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 #e5eae3;border-radius:10px;padding:28px}.backup-card-icon{width:45px;height:45px;border-radius:11px;background:#eef4e9;color:#64815c;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:#89958b;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:#89958b}.backup-info strong{display:block;color:#3e5143;font-size:20px;margin-bottom:5px}.modal-backdrop{position:fixed;inset:0;background:#14251dcc;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 #0b1d1540;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 #edf0eb}.modal-header h2{font-size:19px;margin:0 0 6px}.modal-header p{font-size:11px;color:#929d94;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:#536258}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #dfe6dd;border-radius:6px;background:#fff;padding:11px 12px;color:#33483a;font-size:12px;outline:0}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#86a58b;box-shadow:0 0 0 3px #416c4810}.form-field textarea{resize:vertical;min-height:75px}.form-field small{font-size:10px;color:#97a198}.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 #e3e9e0;border-radius:6px;background:#fafbf9;font-size:10px;color:#536458}.recipient-share>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recipient-share select{width:65px;border:1px solid #dce5d8;border-radius:5px;background:#fff;color:#46634a;padding:5px 6px;font-size:10px}.recipient-share-empty{grid-column:1/-1;padding:10px;color:#99a49b;font-size:10px;background:#f8faf7;border-radius:6px}.record-share-option{display:flex;align-items:center;gap:8px;font-size:11px;color:#526257;cursor:pointer}.record-share-option input{width:15px;height:15px;margin:0;accent-color:#376b48}.member-select-option:has(input:disabled){opacity:.42;cursor:not-allowed}.record-calc-note{padding:10px 12px;border:1px solid #e2e8df;border-radius:6px;background:#f7f9f5;color:#839087;font-size:10px;line-height:1.7}.record-calc-note.active{border-color:#d5e4cd;background:#f0f6e9;color:#52704b}.record-calc-note strong{font-weight:650;color:#365f3e}.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:#f2f5ef;color:#526c50;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 #dfe6dd;border-radius:6px;background:#fff;color:#46594b;text-align:left}.member-select-toggle:hover,.member-select.open .member-select-toggle{border-color:#86a58b}.member-select-toggle>span{font-size:12px}.member-select-toggle>small{margin-left:auto;font-size:9px;color:#9aa49b;white-space:nowrap}.member-select-toggle>svg{width:15px;height:15px;color:#869488}.member-select-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;background:#fff;border:1px solid #dce5d9;border-radius:8px;box-shadow:0 10px 28px #1a342117;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 #edf1ea;color:#96a198}.member-select-search svg{width:14px;height:14px}.member-select-search input{width:100%;border:0;outline:0;font-size:11px;color:#435649}.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:#526257}.member-select-option:hover{background:#f2f6ee}.member-select-option input{width:14px;height:14px;margin:0;accent-color:#376b48}.member-select-option small{margin-left:auto;font-size:9px;color:#718c6a}.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:#286245;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:#14251d66;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 #102b2045;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 #edf0eb}.mini-modal-header h2{margin:0 0 5px;font-size:16px;color:#2d4134}.mini-modal-header p{margin:0;font-size:9px;color:#96a198}.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:#59695d}.mini-party-section h3 span{font-size:9px;font-weight:400;color:#9aa49b}.mini-party-list{max-height:165px;overflow-y:auto;border:1px solid #e8ede5;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 #eef1ec;font-size:10px;color:#5e6e62}.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:#9ca69d;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 #e0e7dc;border-radius:5px;background:#fff;color:#839087;font-size:10px}.member-detail-filters button.active{background:#e6f0df;border-color:#c7dcbb;color:#3e6842;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 #e6ebe3;border-radius:7px;background:#f8faf6}.member-spend-summary span{display:block;font-size:10px;color:#8c988e;margin-bottom:6px}.member-spend-summary strong{font-size:17px;color:#3f5946}.member-spend-summary>div.addition strong{color:#467443}.member-spend-summary>div.spending strong{color:#a95243}.member-spend-summary small{display:block;margin-top:5px;font-size:9px;color:#96a198}.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:#f6f8f3;border-bottom:1px solid #e4ebe0;color:#8c988e;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 #edf1ea;color:#617065}.member-detail-table td:last-child{text-align:right;font-weight:650;white-space:nowrap}.member-detail-table td.positive{color:#467443}.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:#98a299;font-size:9px;border-bottom:1px solid #e8ede5}.member-spend-list{max-height:285px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c3cec0 transparent}.member-spend-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 4px;border-bottom:1px solid #edf1ea}.member-spend-row:last-child{border-bottom:0}.member-spend-row strong{display:block;font-size:11px;font-weight:500;color:#4d5e51}.member-spend-row small{display:block;font-size:9px;color:#9aa49b;margin-top:4px}.member-spend-row>span{font-size:11px;font-weight:650;color:#ad5b49;white-space:nowrap}.member-spend-row>span.positive{color:#467443}.member-spend-empty{text-align:center;padding:35px 0;color:#9ba69d;font-size:11px}.detail-hero{display:flex;align-items:center;gap:13px;padding:15px;background:#f7f9f4;border-radius:8px;margin-bottom:19px}.detail-hero h3{margin:0 0 5px;font-size:15px}.detail-hero p{margin:0;color:#8d998f;font-size:11px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.detail-stat{padding:14px;background:#fafbf9;border:1px solid #edf0eb;border-radius:7px}.detail-stat span{font-size:10px;color:#929d94;display:block;margin-bottom:7px}.detail-stat strong{font-size:17px}.detail-note{font-size:11px;line-height:1.8;color:#89958b;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:#526257}.record-party-section h3 span{font-size:9px;font-weight:400;color:#98a299}.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 #e5ebe2;border-radius:6px;background:#fafbf9;font-size:10px}.record-party strong{font-size:10px;font-weight:650;white-space:nowrap}.record-party.positive{background:#f3f8ef;border-color:#e1ebda}.record-party.positive strong{color:#4d7747}.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:#9aa49b;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:#9ca69d;background:#fafbf9;border-radius:6px;font-size:10px}.detail-changes{max-height:240px;overflow-y:auto;margin-top:18px;border:1px solid #edf0eb;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 #f0f2ee;font-size:11px;color:#637167}.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 #e2e8df;border-radius:8px;background:#fff;color:#526257;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:#95a097}.permission-options button.active{border-color:#8eaf88;background:#f0f6e9;color:#3f6744}.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="edit-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:#173c2a;color:#fff;padding:13px 18px;border-radius:8px;box-shadow:0 8px 24px #173c2a30;display:flex;align-items:center;gap:9px;font-size:12px;animation:slide-in .2s ease}.toast svg{width:16px;height:16px;color:#cbd9a6}@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 #102b2030}.sidebar.open{transform:translateX(0)}.sidebar-scrim.open{display:block;position:fixed;inset:0;background:#102b2055;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:#fbfdfb}.member-select-toggle>svg{width:16px;height:16px;color:#66816b}.member-picker-backdrop{position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:24px;background:#14251de8;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 #0b1d1559;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 #edf0eb}.member-picker-header .page-kicker{margin-bottom:5px;font-size:10px}.member-picker-header h2{margin:0 0 7px;font-size:21px;color:#243a2d}.member-picker-header p{margin:0;color:#89968c;font-size:11px}.member-picker-toolbar{display:flex;align-items:center;gap:18px;padding:14px 27px;background:#fafbf9;border-bottom:1px solid #edf0eb}.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:#426b4c}.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 #e2e8df;border-radius:7px;background:#fff;color:#4b5e50;text-align:left;cursor:pointer}.member-picker-option[hidden]{display:none}.member-picker-option:hover{border-color:#9eb99d;background:#f8fbf5}.member-picker-option.selected{border-color:#83a47d;background:#edf5e7;color:#315b3b;box-shadow:inset 0 0 0 1px #83a47d20}.member-picker-option:disabled{opacity:.4;cursor:not-allowed;background:#f5f6f4}.member-picker-check{width:18px;height:18px;display:grid;place-items:center;flex:none;border:1px solid #d5dfd1;border-radius:4px;background:#fff;color:#fff}.member-picker-check svg{width:13px;height:13px}.member-picker-option.selected .member-picker-check{border-color:#47744b;background:#47744b}.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:#98a299;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:#95a198;font-size:12px}.member-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 27px;border-top:1px solid #e8ede5;background:#fafbf9}.member-picker-footer>span{color:#77867a;font-size:11px}.member-picker-footer>span strong{margin:0 3px;color:#315f40;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 #dce7d6;border-radius:6px;background:#f4f8ef;color:#426b47;cursor:pointer}.recipient-count-button:hover{border-color:#91ae86;background:#eaf3e2}.recipient-count-button strong{font-size:13px}.recipient-count-button small{font-size:9px;color:#82947b}.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 #e4eae0;border-radius:7px;background:#f7f9f4;color:#89958b;font-size:10px}.recipient-detail-summary strong{display:block;margin-top:6px;color:#3e6243;font-size:17px}.recipient-detail-list{max-height:390px;overflow-y:auto;border:1px solid #e7ece3;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:#f4f7f0;border-bottom:1px solid #e3e9df;color:#89968b;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 #edf1ea;color:#4e6152;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:#9aa49b;font-size:9px}.recipient-detail-table td:last-child{color:#447247;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:#426b47}.recipient-count-button:hover{border:0;background:transparent;color:#245b38;text-decoration:underline;text-underline-offset:3px}.recipient-count-button small{color:#7e9080}

.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:#98a299;font-size:10px}.record-date-filter input{width:126px;height:37px;border:1px solid #e2e7df;border-radius:6px;background:#fff;color:#647268;padding:0 7px;font-size:10px;outline:0}.record-date-filter input:focus{border-color:#91ad97;box-shadow:0 0 0 3px #365f430a}.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 #dfe6dd;border-radius:6px;background:#fff;color:#46594b;text-align:left}.date-picker-toggle:hover,.date-picker.open .date-picker-toggle{border-color:#86a58b;background:#fbfdfb}.date-picker-toggle>span{font-size:12px}.date-picker-toggle>small{margin-left:auto;color:#9aa49b;font-size:9px;white-space:nowrap}.date-picker-toggle>svg{width:15px;height:15px;color:#869488;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 #dce5d9;border-radius:9px;background:#fff;box-shadow:0 12px 30px #1a34211c}.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:#365440;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:#96a198;font-size:9px;text-align:center}.date-picker-days>button{height:32px;border:1px solid transparent;border-radius:5px;background:transparent;color:#526257;font-size:11px}.date-picker-days>button:hover{background:#eef4e9;color:#315e3d}.date-picker-days>button.today{border-color:#b9ceb0;color:#426b47}.date-picker-days>button.selected{border-color:#47744b;background:#47744b;color:#fff}.date-picker-foot{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding-top:9px;border-top:1px solid #edf1ea}.date-picker-foot>span{color:#9aa49b;font-size:9px}.date-picker-foot .text-button{color:#426b47;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:#849087;font-size:10px}.needs-summary strong{margin:0 3px;color:#3f6744;font-size:14px;font-weight:600}.needs-summary small{margin-left:auto;color:#99a39a;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 #e8eee5;border-bottom:1px solid #e8eee5;background:#fff;text-align:center;white-space:nowrap}.needs-table thead th{position:sticky;top:0;z-index:5;height:42px;background:#edf3e8;color:#52694e;font-weight:500}.needs-table th:first-child,.needs-table td:first-child{position:sticky;left:0;z-index:3;color:#94a095;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 #dfe7dc}.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:#edf5eb}.needs-table .need-group-马{background:#fbf8e9}.needs-table .need-group-判{background:#edf4f9}.needs-table .need-group-天{background:#faf6e9}.needs-table thead .need-group-爵{background:#f6e5df}.needs-table thead .need-group-土{background:#e2eee0}.needs-table thead .need-group-马{background:#f5efd7}.needs-table thead .need-group-判{background:#e3edf4}.needs-table thead .need-group-天{background:#f3ecd8}.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:#425a47;cursor:pointer}.need-cell:hover{background:#ffffff80}.need-cell strong{font-size:12px;font-weight:500}.need-cell small{color:#859481;font-size:8px}.need-cell.empty{color:#b2bcb1}.need-cell.complete strong{color:#397143}.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:#f3f6ef;color:#4d674e}.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:#8b998b;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 #e4eae0;border-radius:7px;background:#f7f9f4;color:#89958b;font-size:10px}.need-edit-summary strong{display:block;margin-top:5px;color:#3f6344;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:#859481;font-size:8px;cursor:pointer}.need-history:hover{color:#315f3d;text-decoration:underline;text-underline-offset:2px}.need-history-list{max-height:390px;overflow-y:auto;border:1px solid #e5ebe2;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 #edf1ea;background:#fff;color:#53665a;text-align:left;cursor:pointer}.need-history-row:last-child{border-bottom:0}.need-history-row:hover{background:#f5f8f2}.need-history-row strong{display:block;font-size:11px;font-weight:500}.need-history-row small{display:block;margin-top:4px;color:#98a299;font-size:9px}.need-history-row>span:last-child{display:flex;align-items:center;gap:6px;color:#678166;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 #e4eae0;border-radius:7px;background:#f7f9f4;color:#89958b;font-size:10px;text-align:left;cursor:pointer}.need-history-summary:hover{border-color:#a9bda4;background:#f0f6eb}.need-history-summary small{display:block;margin-top:5px;color:#82947e;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:#687d64}.need-cell.empty{color:#607164}.need-cell.empty strong{color:#68796c}.need-cell:hover{background:#f9fcf6;box-shadow:inset 0 0 0 1px #8ca983}.need-cell.complete strong{color:#2f6b3b}

.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:#eaf3e4;color:#35633e;font-size:14px;font-weight:650}.need-cell.empty strong{background:#f2f4f0;color:#89948b;font-weight:500}.need-cell small{color:#a0aaa1;font-size:8px;font-weight:400}.need-cell.complete strong{background:#e2efdc;color:#2f6b3b}.need-cell:hover{background:#fafcf8;box-shadow:inset 0 0 0 1px #a5b89e}

.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:#7f8d7e;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:#89978a}.need-cell small b{display:inline;color:#38633f;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:#f0f2ee;border-bottom-color:#e9eee7}.need-cell strong{min-width:0;height:24px;padding:0;background:transparent;color:#315d3b;font-size:16px;font-weight:650}.need-cell.complete strong{background:transparent;color:#315d3b}.need-cell.empty strong{background:transparent}.need-cell small{color:#8b998c}.need-cell small b{color:#35643e}.need-cell.no-history small{color:#b4bcb4}.need-cell.no-history small b{color:#a6afa7;font-weight:500}.need-cell:hover{background:#f7faf5;box-shadow:inset 0 0 0 1px #b4c4ad}.needs-table tbody tr:hover td{background-color:#fafcf9}.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:#fafcf9}

.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:60px}.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 #9eb794;border-radius:6px;background:#ffffffb8;color:#315d3b;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 #52634b12;font-size:10px;color:#7d8d7d}.need-cell small b{font-size:12px;color:#315f3c;font-weight:700}.need-cell.no-history small{color:#98a398}.need-cell.no-history small b{color:#8e9b90;font-weight:500}.needs-table tbody td.need-group-爵{background:#fcf2ef}.needs-table tbody td.need-group-土{background:#f0f6ed}.needs-table tbody td.need-group-马{background:#fcf8e9}.needs-table tbody td.need-group-判{background:#eef5fa}.needs-table tbody td.need-group-天{background:#faf6e9}.needs-table tbody tr:hover td.need-group-爵{background:#f9e9e4}.needs-table tbody tr:hover td.need-group-土{background:#e7f1e2}.needs-table tbody tr:hover td.need-group-马{background:#f8f0d8}.needs-table tbody tr:hover td.need-group-判{background:#e5eff6}.needs-table tbody tr:hover td.need-group-天{background:#f5eedb}

.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:#416849;font-size:14px;font-weight:500}.need-cell.empty strong{color:#a8b3a7}.need-cell small{display:block;padding:0;border:0;font-size:9px;line-height:1.2;white-space:nowrap;color:#7f907f}.need-cell.no-history small{color:#96a294}

.needs-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 14px;border-bottom:1px solid #e8eee5;flex:none}.needs-toolbar>label{color:#7f8d81;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 #9eb794}.needs-table td.need-group-马 .need-cell:hover{box-shadow:inset 0 0 0 1px #c3b375}.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 #c0b284}

.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 #eff3ec}.material-card-stats .material-price{margin:0;padding:0;border:0;font-size:22px}.material-shipments{color:#8c998e;font-size:9px;white-space:nowrap;padding-bottom:2px}.material-shipments strong{margin:0 2px;color:#4c6d4c;font-size:13px;font-weight:650}

.material-ledger{display:grid;gap:16px}.material-ledger-group{overflow:hidden;border:1px solid #e4eae1;border-radius:9px;background:#fff}.material-ledger-head{width:100%;display:flex;align-items:center;gap:13px;padding:14px 17px;border:0;background:#f8faf6;color:#41564a;text-align:left;cursor:pointer}.material-ledger-head:hover{background:#f3f7f0}.material-stage-mark{width:27px;height:27px;display:grid;place-items:center;border-radius:5px;background:#e5ede0;color:#587154;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:#96a198;font-size:9px}.material-ledger-total{color:#849287;font-size:10px;white-space:nowrap}.material-ledger-head>svg{width:15px;height:15px;color:#869488;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:#eef5eb}.material-stage-土 .material-stage-mark{background:#d8e8d2;color:#54764c}.material-stage-马 .material-ledger-head{background:#faf6e6}.material-stage-马 .material-stage-mark{background:#eee3bb;color:#8e7a3f}.material-stage-判 .material-ledger-head{background:#edf4f9}.material-stage-判 .material-stage-mark{background:#d9e7f0;color:#53798d}.material-stage-天 .material-ledger-head{background:#faf5e7}.material-stage-天 .material-stage-mark{background:#eee3c6;color:#907b43}.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 #e6ece3;border-bottom:1px solid #e6ece3;background:#fcfdfb;color:#9aa49b;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 #edf1ea}.material-ledger-row:last-child{border-bottom:0}.material-ledger-row:hover{background:#fafcf8}.material-ledger-row>strong{color:#4f6154;font-size:11px;font-weight:500}.material-ledger-price{text-align:right;color:#4c684f;font-size:12px;font-weight:550}.material-ledger-price small{color:#96a198;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:#53744f;font-size:11px;cursor:pointer}.material-shipments:hover{color:#285c38;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 #e5ebe2;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 #edf1ea;background:#fff;color:#52665a;text-align:left;cursor:pointer}.material-shipment-row:last-child{border-bottom:0}.material-shipment-row:hover{background:#f6f9f3}.shipment-detail-date strong{display:block;font-size:11px;font-weight:600}.shipment-detail-date small{display:block;margin-top:5px;color:#95a097;font-size:9px}.shipment-detail-recipients strong{display:block;color:#4a6b47;font-size:10px;font-weight:600}.shipment-detail-recipients small{display:block;margin-top:5px;color:#879489;font-size:9px;line-height:1.6;overflow-wrap:anywhere}.material-shipment-row>svg{width:14px;height:14px;color:#8a9a8b}@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:#f5f8f2;border-bottom:1px solid #e4ebe0;color:#8a978c;font-size:9px}.material-shipment-row{min-height:45px;padding-top:0;padding-bottom:0}.shipment-detail-date{color:#435b4b;font-size:11px;font-weight:500}.shipment-detail-person{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64746a;font-size:10px}.shipment-detail-link{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#52734e;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:hover{color:#245b38;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 #edf0eb}.attendance-summary:last-child{border-bottom:0}.attendance-summary>strong{color:#42564a;font-size:11px;font-weight:500}.attendance-summary>span{color:#6f806f;font-size:11px}.attendance-summary .text-button{color:#4c704d;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 #e5ebe2;border-radius:6px;background:#fafbf9}.attendance-members-list strong{font-size:11px;font-weight:500}.attendance-members-list small{color:#98a299;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 #edf0eb;background:transparent;text-align:left;cursor:pointer}.attendance-summary:hover{background:#f5f8f1}.attendance-summary strong small{margin-left:6px;color:#98a298;font-size:9px;font-weight:400}.attendance-detail-label{color:#4c704d;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 #edf1ea;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:#286245;text-decoration:underline;text-underline-offset:3px}


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