.stg{--stg-ink:#18374f;--stg-muted:#687f92;--stg-blue:#1166a7;--stg-line:#e2ebf3;--stg-red:#a64d4d;color:var(--stg-ink)}.stg *{box-sizing:border-box}.stg h1,.stg h2,.stg p{margin:0}.stg button,.stg select{font:inherit}.stg button{cursor:pointer}.stg button:disabled{opacity:.4;cursor:default}.stg-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.stg-heading h1{font-size:24px;font-weight:600;line-height:1.4}.stg-heading p{font-size:13px;color:var(--stg-muted);margin-top:7px}.stg-refresh{background:#fff;border:1px solid var(--stg-line);color:var(--stg-blue);border-radius:6px;padding:8px 14px;font-size:13px!important}.stg-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:24px 0 15px;font-size:13px;color:var(--stg-muted)}.stg-toolbar label{display:flex;gap:10px;align-items:center;white-space:nowrap}.stg select{background:#fff;color:var(--stg-ink);border:1px solid var(--stg-line);border-radius:6px;padding:8px 12px;font-size:13px;max-width:100%;min-width:170px}.stg-group-head{background:#fff;border:1px solid var(--stg-line);border-radius:12px;padding:23px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.stg-group-identity{display:flex;gap:14px;align-items:center;min-width:0}.stg-group-icon{width:52px;height:52px;border-radius:12px;background:#edf5fc;color:var(--stg-blue);display:grid;place-items:center;font-weight:600;font-size:15px;flex-shrink:0}.stg-group-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stg-group-name h2{font-size:21px;font-weight:600;overflow-wrap:anywhere}.stg-status{font-size:12px;background:#edf7f2;color:#2d7258;padding:3px 8px;border-radius:4px}.stg-status-off{color:#63758a;background:#f1f4f7}.stg-group-identity p{font-size:13px;color:var(--stg-muted);margin-top:7px}.stg-rule{font-size:12px;max-width:350px;line-height:1.8}.stg-rule summary{color:var(--stg-blue);cursor:pointer;overflow-wrap:anywhere}.stg-rule p{color:var(--stg-muted);margin-top:10px}.stg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}.stg-stats section{border:1px solid var(--stg-line);border-radius:10px;background:#fff;min-width:0;padding:20px}.stg-stats section>span{display:block;font-size:13px;color:var(--stg-muted)}.stg-stats section>strong{display:block;font-size:29px;font-weight:600;font-variant-numeric:tabular-nums;margin:7px 0;line-height:1.4}.stg-stats section>small{display:block;font-size:12px;color:var(--stg-muted);line-height:1.8}.stg-stats .stg-stat-focus{background:#edf5fc;border-color:#dbe9f6}.stg-stat-focus strong{color:var(--stg-blue)}.stg-main-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:20px;margin-top:22px;align-items:start}.stg-panel{background:#fff;border:1px solid var(--stg-line);border-radius:12px;padding:23px;min-width:0}.stg-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.stg-panel-head h2{font-size:17px;font-weight:600}.stg-panel-head>span{font-size:12px;color:var(--stg-muted)}.stg-subtitle{font-size:12px;color:var(--stg-muted);margin-top:6px!important;margin-bottom:17px!important}.stg-member{display:grid;grid-template-columns:minmax(65px,1fr) minmax(30px,.8fr) 65px;gap:12px;align-items:center;font-size:13px;border-bottom:1px solid var(--stg-line);padding:12px 0}.stg-member>span:first-child{overflow-wrap:anywhere}.stg-member>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.stg-me{font-size:11px;background:#edf5fc;color:var(--stg-blue);padding:1px 4px;border-radius:3px;margin-left:5px}.stg-bar{height:5px;border-radius:4px;background:#eff3f7;overflow:hidden}.stg-bar i{height:100%;display:block;background:#6798c8;border-radius:4px}.stg-bar .stg-bar-negative{background:#bf7777}.stg-member-note{border-top:1px solid var(--stg-line);padding-top:13px;font-size:12px;color:var(--stg-muted);margin-top:13px!important;line-height:1.8}.stg-ledger table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.stg-ledger th{padding:9px 0 12px;text-align:left;font-size:12px;font-weight:400;color:var(--stg-muted);border-bottom:1px solid var(--stg-line)}.stg-ledger td{padding:15px 0;border-bottom:1px solid var(--stg-line);vertical-align:middle;overflow-wrap:anywhere}.stg-ledger th:nth-child(1){width:23%}.stg-ledger th:nth-child(2){width:43%}.stg-ledger th:nth-child(3){width:23%;text-align:right;padding-right:12px}.stg-ledger th:nth-child(4){width:11%}.stg-ledger td:nth-child(1){font-size:12px;color:var(--stg-muted);padding-right:10px}.stg-ledger td:nth-child(3){font-variant-numeric:tabular-nums;text-align:right;padding-right:12px;color:var(--stg-blue);font-weight:500}.stg-ledger td:nth-child(4){text-align:right}.stg-ledger td small{display:block;font-size:12px;color:var(--stg-muted);margin-top:5px}.stg-ledger td button{background:none;border:0;padding:5px 0;color:var(--stg-blue);font-size:12px}.stg-negative{color:var(--stg-red)!important}.stg-page{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;color:var(--stg-muted);font-size:12px}.stg-page>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.stg-page button{background:#fff;color:var(--stg-ink);border:1px solid var(--stg-line);border-radius:5px;padding:5px 9px;font-size:12px}.stg-page button[aria-current=page]{background:var(--stg-blue);border-color:var(--stg-blue);color:#fff}.stg-empty{padding:35px 18px;color:var(--stg-muted);font-size:14px;text-align:center;background:#fff;border:1px solid var(--stg-line);border-radius:8px;line-height:1.8}.stg-ledger .stg-empty{min-height:305px;display:grid;align-content:center}.stg-error{color:var(--stg-red)}.stg-empty button{display:block;background:#fff;color:var(--stg-blue);border:1px solid var(--stg-line);border-radius:5px;margin:12px auto 0;padding:7px 12px}.stg-footer{margin-top:20px!important;font-size:12px;color:var(--stg-muted);line-height:1.8}.stg-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.stg-dialog{background:#fff;color:var(--stg-ink);border:1px solid var(--stg-line);border-radius:13px;padding:25px;width:470px;max-width:calc(100% - 30px);box-shadow:0 20px 70px #17365030}.stg-dialog::backdrop{background:#102c4560}.stg-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.stg-dialog-head h2{font-size:19px;font-weight:600}.stg-dialog-head button{background:transparent;border:0;font-size:25px;line-height:1;padding:5px;color:var(--stg-muted)}.stg-detail-amount{text-align:center;color:var(--stg-blue);font-size:35px;font-weight:600;font-variant-numeric:tabular-nums;padding:25px 0 20px}.stg-detail-amount small{font-size:13px;font-weight:400;margin-left:6px}.stg-detail-line{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--stg-line);padding:12px 0;font-size:13px}.stg-detail-line>span{color:var(--stg-muted);flex-shrink:0}.stg-detail-line>strong{font-weight:400;text-align:right;overflow-wrap:anywhere}
@media(max-width:1150px){.stg-main-grid{grid-template-columns:minmax(230px,.85fr) minmax(0,1.3fr);gap:16px}.stg-panel{padding:18px}.stg-stats{gap:12px}.stg-stats section{padding:17px 14px}.stg-stats section>strong{font-size:26px}}@media(max-width:900px){.stg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stg-main-grid{grid-template-columns:1fr}.stg-member{grid-template-columns:1fr 1fr 75px}.stg-rule{max-width:none;width:100%;border-top:1px solid var(--stg-line);padding-top:12px}}@media(max-width:560px){.stg-heading h1{font-size:22px}.stg-toolbar label{width:100%;justify-content:space-between}.stg-toolbar select{max-width:calc(100% - 40px);min-width:0}.stg-group-head{padding:18px;gap:14px}.stg-group-icon{width:42px;height:42px;font-size:12px}.stg-group-name h2{font-size:18px}.stg-group-identity{gap:10px}.stg-group-identity p{font-size:12px}.stg-stats{gap:10px}.stg-stats section{padding:15px 12px}.stg-stats section>strong{font-size:24px}.stg-stats section>small{font-size:11px}.stg-panel{padding:18px 15px}.stg-panel-head h2{font-size:16px}.stg-ledger table{font-size:12px}.stg-ledger td small{font-size:11px}.stg-ledger td:nth-child(1){font-size:11px;padding-right:8px}.stg-ledger th:nth-child(1){width:22%}.stg-ledger th:nth-child(2){width:42%}.stg-ledger th:nth-child(3){width:24%}.stg-ledger th:nth-child(4){width:12%}.stg-ledger td:nth-child(3),.stg-ledger th:nth-child(3){padding-right:8px}.stg-page>span{width:100%}.stg-dialog{padding:20px}}@media(pointer:coarse){.stg button,.stg select{min-height:44px}.stg select{font-size:16px}.stg-page button{min-width:32px}}
