:root{--bg:#f4f6f3;--ink:#233d35;--muted:#748078;--green:#247c63;--line:#e4e9e3;--orange:#be7438;--pale:#e8f1ea}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.6}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:8px;background:var(--green);color:#fff;border:1px solid transparent;cursor:pointer;font-weight:600;white-space:nowrap;line-height:1.5}button:hover,.button:hover{filter:brightness(.96);text-decoration:none}.light{background:#f0f4ef;color:var(--ink);border-color:#e2e9df}.danger{background:#fff0ed;color:#b74f3e}.small{padding:6px 11px;font-size:12px}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #d9e2d8;background:#fff;border-radius:7px;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #86b5a3;outline-offset:1px}input[type=checkbox]{width:auto;accent-color:var(--green)}label{display:flex;flex-direction:column;gap:7px;font-weight:500}label small{font-weight:400;color:var(--muted)}textarea{resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.8px;line-height:1.3;margin-bottom:9px}h2{font-size:18px;line-height:1.5;margin-bottom:18px}h3{font-size:15px}small{font-size:12px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--green);margin-bottom:10px}.brand{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:700;color:inherit}.brand:hover{text-decoration:none}.mark{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--green);color:#fff;font-size:18px;font-style:italic;letter-spacing:-2px}.brand small{display:block;font-weight:400;font-size:10px;color:var(--muted);letter-spacing:1px}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;padding:34px 22px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.nav-label{font-size:10px;letter-spacing:2px;color:#9aa69d;margin:48px 13px 14px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{padding:12px 15px;color:#6c7971;display:flex;align-items:center;gap:12px;border-radius:8px;font-weight:500}.sidebar nav a span{font-size:18px;width:20px;text-align:center}.sidebar nav a.active{color:var(--green);background:var(--pale);font-weight:700}.side-foot{margin-top:auto;font-size:11px;color:var(--muted);padding:20px 10px 0}.side-foot small{display:block;margin-top:8px;font-size:9px;letter-spacing:1px}.status-dot{width:6px;height:6px;background:#82a68d;border-radius:50%;display:inline-block;margin-right:5px}.workspace{margin-left:228px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 38px;background:#ffffffb8;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.topbar b{font-weight:500;color:var(--ink)}.userbar{display:flex;align-items:center;gap:10px}.userbar small{display:block;color:var(--muted);font-size:10px}.userbar form{margin-left:10px}.avatar{width:35px;height:35px;border-radius:50%;background:#e6ece3;display:inline-flex;align-items:center;justify-content:center;color:#54705c;font-weight:700;flex-shrink:0}.main{max-width:1440px;margin:auto;padding:32px 38px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.page-heading p{margin-bottom:0}.page-heading .eyebrow{margin-bottom:8px}.date-pill{border:1px solid #dce5da;border-radius:30px;padding:7px 16px;color:var(--muted);font-size:12px;background:#fff}.welcome{background:#e3ece0;border:1px solid #d8e4d3;border-radius:14px;padding:32px;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;overflow:hidden}.welcome h2{font-size:25px;margin:13px 0 10px}.welcome p{color:#61745f;max-width:560px;margin-bottom:22px}.welcome .tag{background:#d3e0cc;color:#52734d}.welcome-symbol{font-size:94px;font-style:italic;line-height:1;letter-spacing:-12px;color:#a5b89d;border:2px solid #b9c9b0;transform:rotate(-8deg);border-radius:50%;width:170px;height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 24px}.welcome-symbol small{font-style:normal;letter-spacing:3px;font-size:8px;margin-top:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:15px}.stats section{border:1px solid var(--line);background:#fff;border-radius:12px;padding:23px}.stats span{color:var(--muted);font-size:12px;display:block;margin-bottom:9px}.stats strong{font-size:28px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.green{color:var(--green)}.orange{color:var(--orange)}.hint{font-size:12px;color:var(--muted);margin:10px 0 24px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:22px;min-width:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-head h2{margin:0}.section-head small{font-weight:400;color:var(--muted);margin-left:6px}.section-head>a{font-size:12px}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{color:#7b877f;font-size:11px;font-weight:500;padding:12px 10px;background:#f7f9f6;border-bottom:1px solid var(--line)}td{padding:17px 10px;border-bottom:1px solid #edf0eb;vertical-align:middle}td b{font-weight:550;overflow-wrap:anywhere}td small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.nowrap{white-space:nowrap}.note{max-width:280px;min-width:100px;overflow-wrap:anywhere;color:var(--muted)}.member-count{font-size:44px;line-height:1.2;padding:10px 0 24px}.member-count span{font-size:12px;color:var(--muted);margin-left:10px}.latest-event{display:block;border-top:1px solid var(--line);padding:14px 0}.latest-event small{display:block;color:var(--muted)}.latest-event b{font-size:13px}.tag{font-size:11px;display:inline-block;border-radius:5px;padding:3px 8px;background:#edf4eb;color:#4a7550;white-space:nowrap}.tag.disabled{background:#f3eee7;color:#92775c}.alert{padding:12px 16px;background:#e4f2e7;border:1px solid #bed7c5;border-radius:8px;margin-bottom:20px;color:#2c6c43}.alert.error{background:#fff0eb;color:#aa4632;border-color:#f4d5c9}.editor summary{font-size:15px;font-weight:650;cursor:pointer;list-style:none}.editor summary:after{content:'展开 / 收起';float:right;font-size:11px;font-weight:400;color:var(--muted)}.editor[open] summary{margin-bottom:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.span2,.form-actions{grid-column:1/-1}.form-actions{display:flex;gap:10px;align-items:center}.delete-form{margin-top:16px}.stack{display:flex;flex-direction:column;gap:18px}.stack button{align-self:flex-start}.filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.filters label{flex:1;min-width:125px;font-size:12px}.filters label:nth-last-of-type(1){flex:1.2}.filters button,.filters .button{font-size:13px}.pagination{display:flex;justify-content:flex-end;gap:20px;margin-top:18px;font-size:12px;color:var(--muted)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.empty{padding:50px 15px;text-align:center;color:var(--muted)}.empty-icon{font-size:42px;color:#9eb5a6}.empty h2{margin:10px 0;color:#607a69}.legend{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.legend i,.breakdown i{width:8px;height:8px;border-radius:2px;display:inline-block}.income-dot{background:#247c63}.expense-dot{background:#db9252}.bar-chart{display:flex;gap:22px;overflow:auto;padding:35px 14px 12px;align-items:flex-end;min-height:265px;border-bottom:1px solid var(--line)}.bar-group{min-width:116px;flex:1;text-align:center;font-size:11px}.bar-group b{font-weight:500;color:var(--muted)}.bars{height:185px;display:flex;justify-content:center;align-items:flex-end;gap:18px;border-bottom:1px solid #e7ece5;margin-bottom:10px}.bar{width:30px;position:relative;border-radius:4px 4px 0 0;min-height:1px}.bar.income{background:#247c63}.bar.expense{background:#db9252}.bar span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%) rotate(-20deg);transform-origin:bottom center;font-size:9px;padding-bottom:6px;color:#57665c;white-space:nowrap}.donut{width:210px;height:210px;border-radius:50%;display:grid;place-items:center;margin:28px auto}.donut>div{border-radius:50%;width:154px;height:154px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut small{color:var(--muted);font-size:11px}.donut b{font-size:19px}.breakdown>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;gap:8px}.breakdown i{margin-right:10px}.breakdown b{text-align:right;font-weight:550}.breakdown small{display:block;color:var(--muted);font-weight:400}.member-item{border-top:1px solid var(--line)}.member-item>summary{display:flex;gap:14px;align-items:center;padding:19px 0;cursor:pointer;list-style:none}.member-item summary small{display:block;color:var(--muted);font-size:11px}.rank{margin-left:auto;background:#edf0e9;border-radius:5px;padding:4px 10px;color:#657750;font-size:12px;white-space:nowrap}.expand{font-size:12px;color:var(--muted)}.member-item .form-grid{padding:18px;background:#f7f9f6;border-radius:8px}.member-tools{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:20px 0}.inline-form{display:flex;align-items:center;gap:8px;min-width:0}.inline-form input{min-width:0;flex:1}.setting-row{display:flex;gap:8px;margin-bottom:10px}.setting-row .inline-form{flex:1}.setting-row input{padding:7px;font-size:13px}.search{max-width:240px;font-size:12px}.event-date{font-size:11px;letter-spacing:1px;color:var(--green);margin-bottom:10px}.event h2{font-size:23px;margin-bottom:10px;overflow-wrap:anywhere}.event-content{white-space:normal;overflow-wrap:anywhere;line-height:1.9;margin:20px 0;font-size:14px}.event-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.event-photos a{display:block}.event-photos img{display:block;width:100%;height:220px;object-fit:cover;border-radius:8px}.event-tools{display:flex;gap:10px;border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.photo-edit{display:flex;flex-wrap:wrap;gap:15px}.photo-edit img{width:110px;height:80px;object-fit:cover;border-radius:6px}.photo-edit label{font-size:12px}footer{text-align:center;color:#9aa59b;font-size:11px;padding:18px}footer span{margin:0 10px}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-art{background:#e2ebdc;padding:45px 60px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;min-height:100vh}.auth-art h1{font-size:48px;line-height:1.5;margin:10px 0 18px;letter-spacing:-2px}.auth-art p:not(.eyebrow){color:#6d8063}.auth-art>small{color:#788b6e}.court{position:relative;width:340px;height:170px;border:2px solid #b3c6a7;margin:50px auto 24px;transform:rotate(-12deg);box-shadow:0 15px 0 #d5e0ce}.court:before{content:'';position:absolute;left:15%;right:15%;top:0;bottom:0;border-left:1px solid #b3c6a7;border-right:1px solid #b3c6a7}.court:after{content:'';position:absolute;inset:15% 0;border-top:1px solid #b3c6a7;border-bottom:1px solid #b3c6a7}.court i{position:absolute;left:50%;top:0;bottom:0;border-left:2px solid #9db78c}.court b{position:absolute;top:50%;left:0;right:0;border-top:1px solid #b3c6a7}.auth-form{display:grid;place-items:center;background:#fafbf8;padding:40px}.auth-box{width:100%;max-width:365px}.auth-box h2{font-size:28px;margin-bottom:12px}.auth-box>.muted{margin-bottom:30px}.auth-box .stack{margin:25px 0}.auth-box .stack button{width:100%;margin-top:8px}.auth-box>small{display:block;margin-top:25px;font-size:11px}.auth-box .eyebrow{font-size:10px}
@media(min-width:1500px){.main{padding-top:42px}.stats strong{font-size:32px}}@media(max-width:1150px){.sidebar{width:198px;padding:30px 15px}.brand{font-size:15px}.workspace{margin-left:198px}.main{padding:25px}.topbar{padding:16px 25px}.dashboard-grid{grid-template-columns:1fr}.welcome-symbol{width:135px;height:135px;font-size:75px}.stats strong{font-size:24px}.two-col{gap:16px}.panel{padding:20px}.event-photos img{height:180px}.auth-art{padding:40px}.auth-art h1{font-size:40px}.court{width:280px}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:16px 16px 0;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:16px}.mark{width:36px;height:36px}.sidebar nav{flex-direction:row;overflow:auto;margin-top:17px;gap:3px;padding-bottom:9px}.sidebar nav a{white-space:nowrap;padding:8px 12px;font-size:12px}.sidebar nav a span{display:none}.side-foot,.nav-label{display:none}.workspace{margin-left:0}.topbar{padding:12px 16px}.topbar>span{display:none}.userbar{width:100%;font-size:12px}.userbar form{margin-left:auto}.avatar{width:30px;height:30px}.main{padding:22px 16px}.page-heading{margin-bottom:20px}h1{font-size:25px}.page-heading .muted{font-size:12px;max-width:260px}.date-pill{display:none}.welcome{padding:23px;margin-bottom:16px}.welcome h2{font-size:20px}.welcome p{font-size:12px}.welcome-symbol{display:none}.stats{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.stats section{padding:14px 10px}.stats span{font-size:10px}.stats strong{font-size:clamp(12px,3.5vw,22px);overflow-wrap:anywhere}.panel{padding:18px 15px;margin-bottom:16px}.hint{font-size:11px}.dashboard-grid,.two-col{grid-template-columns:1fr;gap:0}h2{font-size:16px}.tablewrap{margin:0 -6px}td{padding:13px 8px}th{padding:10px 8px}.tablewrap table{min-width:520px}.dashboard-grid table{min-width:420px}.form-grid{gap:14px}.form-grid label{font-size:12px}.filters label{min-width:calc(50% - 12px)}.filters button,.filters .button{flex:1}.filters label:last-of-type{flex-basis:100%}.filters{gap:10px}.event-photos{grid-template-columns:repeat(2,1fr)}.event-photos img{height:150px}.event h2{font-size:20px}.section-head{align-items:flex-start}.section-head .search{max-width:180px}.member-item>summary{gap:8px}.member-item summary b{font-size:13px}.expand{display:none}.member-tools{flex-direction:column}.member-tools .inline-form input{max-width:220px}.setting-row{gap:5px}.setting-row .inline-form{gap:5px}.setting-row button{padding:6px}.auth{display:block}.auth-art{min-height:0;padding:24px}.auth-art>div:not(.brand),.auth-art>small{display:none}.auth-form{min-height:calc(100vh - 84px);padding:30px 24px;align-items:start}.auth-box{padding-top:20px}.auth-box h2{font-size:26px}.auth-form input{font-size:16px}.editor summary:after{font-size:10px}.donut{width:190px;height:190px}.donut>div{width:142px;height:142px}}

/* v1.1: full account number and read-only member directory */
.userbar>span:not(.avatar){min-width:0;overflow-wrap:anywhere}.userbar small{white-space:normal;overflow-wrap:anywhere}.userbar form{flex-shrink:0}.directory-row{display:flex;align-items:center;gap:14px;padding:18px 0}.directory-row[hidden]{display:none}.directory-name{min-width:0;overflow-wrap:anywhere}.directory-name small{display:block;color:var(--muted);font-size:11px}.directory-row .tag{margin-left:auto}.directory-row .rank{margin-left:0}.member-item summary>span:nth-child(2){min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.directory-row{gap:8px}.userbar{align-items:center}.userbar>span:not(.avatar){flex:1}.directory-row .tag{font-size:10px}.directory-row .rank{font-size:11px}}

/* v1.2: one member per table row, complete numeric avatars */
.avatar.member-number{width:48px;height:48px;min-width:48px;flex-shrink:0;border-radius:50%;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.25;text-align:center;letter-spacing:0;overflow:visible}.avatar.member-number.long-number{width:72px;height:72px;min-width:72px;font-size:11px;line-height:13px}.member-directory{min-width:520px;table-layout:auto}.member-directory td{white-space:nowrap;padding:10px 14px}.member-directory th{white-space:nowrap;padding:12px 14px}.member-directory .member-item[hidden]{display:none}.member-directory td:first-child{width:130px}.member-directory .empty{text-align:center}.panel>.member-number{margin-bottom:14px}.userbar>.avatar.member-number{flex-shrink:0}
