*{box-sizing:border-box}header{background:var(--ground);border-bottom:1px solid var(--line)}.header-inner,main{max-width:1280px;margin:0 auto;padding-left:var(--space-6);padding-right:var(--space-6)}.header-inner{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-10)}.wordmark{padding:var(--space-4) 0;color:var(--ink);text-decoration:none;font-size:var(--text-heading-size);line-height:var(--text-heading-line);font-weight:var(--text-heading-weight)}nav{display:flex;flex-wrap:wrap;gap:0 var(--space-6)}nav a,nav span{display:flex;align-items:center;min-height:44px;padding:var(--space-4) 0;color:var(--ink-muted);text-decoration:none;border-bottom:2px solid transparent}nav [aria-current]{color:var(--accent);border-color:var(--accent);font-weight:var(--text-body-strong-weight)}main{padding-top:var(--space-10);padding-bottom:var(--space-10)}.page-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-6)}h1{margin:0;font-size:var(--text-title-size);line-height:var(--text-title-line);font-weight:var(--text-title-weight)}h2{margin:0;font-size:var(--text-heading-size);line-height:var(--text-heading-line);font-weight:var(--text-heading-weight)}h3{margin:var(--space-6) 0 var(--space-2);font-size:var(--text-body-strong-size);font-weight:var(--text-body-strong-weight)}.filters{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-6)}.filters .btn{font-size:var(--text-small-size)}[aria-pressed="true"]{background:var(--accent-tint);border-color:var(--accent);font-weight:var(--text-body-strong-weight)}.client-list{background:var(--ground);border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}.table-scroll{overflow-x:auto}table{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed}th,td{padding:var(--space-4);text-align:left;vertical-align:top;overflow-wrap:anywhere}th{font-size:var(--text-small-size);line-height:var(--text-small-line);color:var(--ink-muted);font-weight:var(--text-small-weight)}td{border-top:1px solid var(--line);font-size:var(--text-small-size);line-height:var(--text-small-line)}td>*+*{margin-top:var(--space-1)}.client-name{display:inline-flex;align-items:center;min-height:44px;padding:0;background:none;border:0;text-align:left;font:inherit;font-size:var(--text-body-strong-size);line-height:var(--text-body-strong-line);font-weight:var(--text-body-strong-weight);color:var(--ink);cursor:pointer}.client-name:hover{color:var(--accent);text-decoration:underline}.muted,.inactive{color:var(--ink-muted)}.small{font-size:var(--text-small-size);line-height:var(--text-small-line)}.strong{font-weight:var(--text-body-strong-weight)}.input{width:100%;padding-left:var(--space-4);padding-right:var(--space-4)}.label{display:block;margin-bottom:var(--space-2)}dialog{background:var(--ground);color:var(--ink);border:1px solid var(--control);border-radius:var(--radius-md);padding:var(--space-6);width:min(100% - var(--space-6) - var(--space-6),640px);max-height:calc(100% - var(--space-10));overflow-y:auto}dialog::backdrop{background:var(--surface)}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:var(--space-4);margin-bottom:var(--space-6)}.dialog-heading h2,dialog p{overflow-wrap:anywhere}dialog .btn-primary{margin-top:var(--space-4)}body:has(dialog[open]){overflow:hidden}body:has(#add-dialog[open]) #add{visibility:hidden}button:disabled{cursor:wait}[hidden]{display:none!important}
