.bb-main.workspace{padding:0 15px 24px}.bb-main .tabs{height:78px;align-items:stretch}.bb-main .tabs a{display:flex;align-items:center;padding:0 2px}
.bb-tools{height:88px;display:flex;align-items:flex-end;padding-bottom:20px;justify-content:flex-end}.bb-new,.bb-add-member{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;background:#55ab80;color:white;border:1px solid #55ab80;border-radius:4px;font-size:13px}
.fa-main .bb-table-scroll,.fa-main>.bb-tabs{max-width:515px}.fa-table{width:100%;border-collapse:collapse}.fa-table th{height:42px;color:white;background:#55ab80}.fa-table th:first-child,.fa-table td:first-child{width:57px}.fa-table td{height:48px}.fa-table button{padding:4px 8px;border:0;background:transparent;min-height:28px}.fa-edit{display:flex;align-items:center;gap:4px}.fa-edit input{width:100%;min-width:50px}.fa-balance{color:#55ab80}.fa-tip{padding:6px 8px;border-radius:4px;background:#393939;color:white}.fa-main [role=alert]{color:#a23}
.bb-table-scroll{overflow:auto;background:white;max-width:100%}.bb-list{width:1284px;min-width:100%;table-layout:fixed;border-collapse:collapse}.bb-list th,.bb-members th{height:59px;font-weight:500;font-size:12px;background:#55ab80;color:#fff}.bb-list col{width:150px}.bb-list col:first-child{width:54px}.bb-list col:nth-child(3),.bb-list col:nth-child(9){width:100px}.bb-list col:nth-child(4){width:190px}.bb-list col:last-child{width:90px}.bb-list td{height:55px;text-align:left;font-size:13px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bb-list tr:hover td{background:#deebe1}.bb-list td:first-child,.bb-list td:last-child,.bb-list th:first-child{text-align:center}.bb-list small{margin-left:7px;padding:1px 4px;background:#e5f1e9;color:#478f6c;border-radius:3px}
.bb-eye,.bb-list [data-more]{background:transparent;border:0;min-height:26px;padding:4px;color:#55ab80}.bb-eye svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.6;vertical-align:middle}.bb-empty{text-align:center;color:#888;padding:24px;margin:0}
.bb-pages{display:flex;gap:10px;align-items:center;background:white;padding:16px 6px}.bb-pages button{min-height:28px;padding:0 10px;color:#55ab80}.bb-pages label{margin-left:auto}.bb-pages select{height:30px}.bb-wide.workspace{margin-left:var(--rail)}.bb-wide>.tabs{padding-left:36px}
.bb-form-screen{position:fixed;top:var(--header);left:var(--rail);right:0;bottom:0;overflow-y:auto;scrollbar-gutter:stable;background:var(--bg);padding:25px 0 32px}
.bb-form-head,.bb-form{width:70.833333%;margin-left:12.5%}
.bb-form-head a{display:block;height:24px;font-size:14px}
.bb-form-head h3{margin:10px 0 22px;padding:0 4px;font-weight:600;font-size:20px;line-height:30px}
.bb-general{padding:40px 40px 80px;background:white;border-radius:4px}
.bb-general h2{margin:0;font-size:22px;font-weight:600;line-height:33px}
.bb-form-fields{display:flex;gap:40px;padding:20px 20px 0}
.bb-form-fields label{display:block;font-size:14px;line-height:21px;color:var(--ink)}
.bb-form-fields em{font-style:normal;color:#e26060}
.bb-form-fields input,.bb-form-fields select{display:block;width:165px;max-width:100%;height:40px;margin-top:8px;padding:6px 11px}
.bb-form [data-member-area]{margin-top:46px;padding:4px}
.bb-tabs{display:flex;overflow:auto;gap:12px;border-bottom:1px solid #ddd}
.bb-tabs button{white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px;font-size:14px}
.bb-tabs button[aria-selected=true]{border-bottom-color:#55ab80;color:#55ab80}
.bb-form .bb-tabs{height:40px;min-height:40px;gap:2px;align-items:stretch}
.bb-form .bb-tabs button{min-height:0;border:1px solid #ddd;background:#fafafa;border-radius:4px 4px 0 0;padding:0 16px}
.bb-form .bb-tabs button[aria-selected=true]{background:white;border-bottom-color:white}
.bb-form [data-member-area]>section{display:flow-root;background:white;padding:48px 40px 40px;min-height:380px}
.bb-form [data-member-area] h3{margin:0 0 35px;font-size:20px;line-height:30px}
.bb-form h3 small{font-size:13px;font-weight:400}
.bb-add-member{display:flex;margin:0 0 30px auto;height:32px}
.bb-members{width:100%;border-collapse:collapse}.bb-members th{height:40px}.bb-members td{height:44px}.bb-members button{min-height:26px;padding:0 8px}
.bb-form footer,.bb-dialog footer{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:24px}.bb-form [role=alert]{color:#a23}
.bb-dialog .pl-dialog{max-width:900px}.bb-actions .pl-dialog{max-width:360px}.bb-dialog h2{margin-top:0}.bb-dialog .bb-tabs{margin-bottom:18px}.bb-picker{max-height:42vh;overflow:auto;margin:15px 0}.bb-picker label,.bb-companies button{display:flex;align-items:center;gap:10px;padding:10px}.bb-picker input{margin:0}.bb-companies{display:grid;gap:8px}.bb-companies img{width:32px;height:32px}.company-menu{max-height:60vh;overflow-y:auto}.company-menu button+button{margin-top:6px}.company-menu button[aria-current=false]{color:#505050}
.pl-shade.bb-detail{padding-top:min(210px,29.167vh)}.bb-detail .pl-close{right:-42px}.bb-main .fa-table,.bb-detail .bb-members,.bb-form .bb-members{width:100%;min-width:0}.bb-detail .bb-members td,.bb-detail .bb-members th{white-space:normal}.bb-detail .bb-members th:first-child{width:8%}.bb-detail h2+p{margin-bottom:44px}.bb-detail .pl-dialog{width:min(900px,calc(100vw - 36px));padding:25px}.bb-detail .pl-dialog-content{padding:0}.bb-detail-tabs{display:flex;overflow:auto;border:1px solid #dedede;border-radius:4px}.bb-detail-tabs button{flex:1 0 auto;min-height:40px;background:white;border:0;border-radius:0;color:var(--ink)}.bb-detail-tabs [aria-selected=true]{background:var(--green);color:white}.bb-detail h2{font-size:22px;margin:26px 0 2px}.bb-detail p{margin:0 0 24px}.bb-detail td{height:56px}.bb-detail .bb-eye{border:1px solid #a4d5b9;border-radius:4px;width:32px;height:30px}.bb-user-card .pl-dialog{width:min(700px,calc(100vw - 40px));padding:30px}.bb-user-card dl{display:grid;grid-template-columns:minmax(145px,1fr) 1fr;margin:20px 0 0}.bb-user-card dt,.bb-user-card dd{margin:0;padding:12px 8px;border-bottom:1px solid #eee}.bb-user-card dd{overflow-wrap:anywhere}
.bb-pick-dialog .pl-dialog{width:min(700px,calc(100vw - 32px))}.bb-pick-dialog [data-fields]>label{display:block;margin:18px 0 6px}.bb-pick-dialog .filter-select{width:100%}
@media(max-width:800px){.bb-form-head,.bb-form{width:calc(100% - 24px);margin-left:12px}.bb-general,.bb-form [data-member-area]>section{padding:20px 16px}.bb-form-fields{flex-wrap:wrap;gap:12px;padding:16px 0 0}.bb-form [data-member-area]{margin-top:20px}.bb-tabs{gap:0}}
@media(max-width:500px){.bb-form-screen{left:0;z-index:18}.bb-form-fields label,.bb-form-fields input,.bb-form-fields select{width:100%}}

.bb-main .bb-block-tools { height:77px; padding-bottom:10px; gap:8px; }
.bb-block-tools button,.bb-block-tools .bb-new { height:40px; border:1px solid #a9d3bd; border-radius:10px; background:white; color:#26744d; }
.bb-block-tools button { display:grid; place-items:center; width:54px; }
.bb-row-menu{position:fixed;z-index:100;background:#fff;padding:4px 0;box-shadow:0 3px 12px #0002;min-width:132px;border-radius:4px}
.bb-row-menu button{display:block;text-align:left;width:100%;background:white;border:0;padding:9px 16px;color:#454545}
.bb-row-menu button:hover,.bb-row-menu button:focus-visible{background:#dfebe4}
.bb-pos-list header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}
.bb-pos-list header h3{margin:0}.bb-pos-list header button{height:32px;font-weight:400}
.bb-pos-list table{width:100%;min-width:630px;table-layout:fixed}.bb-pos-list .bb-members th{height:41px;background:#2f8b5d}
.bb-pos-list td{overflow:hidden;text-overflow:ellipsis}.bb-pos-list td button{background:white;color:#48534f;border:0}
.pl-shade.bb-pos-dialog{padding:max(48px,calc(50dvh - 222px)) 0 30px;scrollbar-gutter:auto;overflow-y:auto}
.bb-pos-dialog .pl-dialog{width:400px;max-width:calc(100vw - 30px);max-height:none;overflow:visible;padding:0;position:relative}
.bb-pos-dialog .pl-close{top:-40px;right:-44px}
@media(max-width:520px){.bb-pos-dialog .pl-close{right:0}}
.bb-pos-dialog .pl-dialog-content{padding:25px}.bb-pos-dialog h2{font-size:24px;line-height:36px;margin:0 0 16px}
.bb-pos-dialog label{display:block;font-size:13px;line-height:17px;margin:16px 0 8px}
.bb-pos-dialog [data-selectors] label:first-of-type{margin-top:14px}
.bb-pos-dialog [data-selectors] label:nth-of-type(even){margin-top:9px}
.bb-pos-dialog [data-selectors] label:nth-of-type(3){margin-top:19px}.bb-pos-dialog em{color:#e56b70;font-style:normal}
.bb-pos-dialog input[name=name]{display:block;width:100%;height:40px;margin-top:8px;border-radius:4px;border:1px solid #d9d9d9;padding:0 12px}
.bb-pos-dialog .filter-select-control{min-height:40px}.bb-pos-dialog footer{margin-top:20px}
.bb-pos-dialog .pl-dialog footer .primary{min-width:120px;height:32px;min-height:32px;padding:0 15px}
.bb-pos-dialog [role=alert]{color:#a23}.bb-pos-dialog [role=alert]:empty{display:none}
.bb-block-tools button img { width:20px; height:20px; }
.bb-block-tools .bb-new { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:168px; font-size:13px; font-weight:600; }

