.ah-page{max-width:1250px;margin:auto}
.ah-page h2{font-size:18px;margin:0 0 18px}
.ah-page .module-page-head{max-width:none}
.ah-section{padding:22px;margin-top:22px}
.ah-section summary{cursor:pointer;font-size:16px;font-weight:600}
.ah-section[open] summary{margin-bottom:18px}
.ah-table{min-width:700px}
.ah-table th,.ah-table td{padding:14px 18px;vertical-align:middle;line-height:1.65}
.ah-table th{color:var(--ui-secondary,#56657a);font-weight:600;font-size:13px;background:#f1f4f9}
.ah-table td{font-size:14px}
.ah-empty{text-align:center!important;padding:32px!important;color:var(--ui-secondary,#56657a)}
.ah-muted{color:var(--ui-secondary,#56657a);font-size:13px}
.ah-state{color:var(--ui-blue,#1652d3);background:#edf3ff;border-radius:5px;padding:4px 8px;font-size:12px}
.ah-state.ah-disabled{color:#566171;background:#eff1f5}
.ah-fixed{display:block;margin:10px 0;color:#63758d}
.ah-person{display:flex;align-items:center;gap:10px}
.ah-person strong{font-weight:500}
.ah-person .ap-avatar,.ah-owner-line .ap-avatar{flex:0 0 32px;width:32px;height:32px}
.ah-owner-line{display:flex;align-items:center;gap:12px;margin:0 0 22px;color:#697c96}
.ah-owner-line strong{color:#203650}
.ah-owner-line>span:not(.ap-avatar){font-size:12px}
.ah-owner-line button{margin-left:auto;font-size:13px}
.ah-tools{padding:18px;border-bottom:1px solid #e6ecf4}
.ah-tools input{max-width:400px}
.ah-legacy-row{display:flex;gap:25px;padding:16px 0;border-bottom:1px solid #e8eef6}
.ah-table .actions{flex-wrap:wrap;gap:8px}
#ah-project-field[hidden]{display:none}
.ah-page .tablewrap{border-radius:10px}
@media(max-width:750px){.ah-owner-line{flex-wrap:wrap}
.ah-section{padding:16px}
.ah-legacy-row{flex-wrap:wrap;gap:10px}
.ah-page{min-width:0}
.ah-page .card{overflow:hidden}}

.sidebar .ah-team-nav{flex:0 0 auto;padding:0 12px;margin:8px 0 0;overflow:visible}
.ah-tools input{width:100%;height:var(--ui-control-height,40px);padding:0 12px;border:1px solid #dbe4f0;border-radius:6px;background:#fff;color:#253b59;font:inherit}

.ah-project-group>summary{display:flex;align-items:center;gap:12px;list-style:none;padding-left:22px;position:relative}
.ah-project-group>summary:before{content:"▸";position:absolute;left:0;font-size:13px;color:#6c82a0}
.ah-project-group[open]>summary:before{content:"▾"}
.ah-group-count{font-size:12px;font-weight:400;color:#8997aa;margin-left:auto}
.ah-project-body h3{font-size:14px;margin:22px 0 12px;color:#425b7c}
.ah-group-empty{padding:14px 18px;background:#f8faff;border-radius:6px;color:var(--ui-secondary,#56657a);font-size:13px}
.ah-project-group .tablewrap{border:1px solid #e7edf5}
.ah-staff{margin-top:0}

.ah-staff .ah-table,.ah-project-group .ah-table{table-layout:fixed;width:100%}
.ah-staff .ah-table th:nth-child(1),.ah-project-group .ah-table th:nth-child(1){width:23%}
.ah-staff .ah-table th:nth-child(2),.ah-project-group .ah-table th:nth-child(2){width:22%}
.ah-staff .ah-table th:nth-child(3),.ah-project-group .ah-table th:nth-child(3){width:21%}
.ah-staff .ah-table th:nth-child(4),.ah-project-group .ah-table th:nth-child(4){width:12%}
.ah-table td{overflow-wrap:anywhere}
.ah-owner-line{flex-wrap:wrap}
.ah-table [disabled]{opacity:1;color:var(--ui-secondary,#56657a)}
.ah-project-group>summary:focus-visible{outline:2px solid var(--ui-blue,#1652d3);outline-offset:4px;border-radius:4px}
