/* People tab (owner and client admin): who can get a private password link. Theme tokens only, so light and dark follow
   :root[data-theme]. Self-contained: does not rely on the shell's padding. Same head, controls, card and table as the other Admin tabs (b7). */
.ownerPeople{min-width:0;color:var(--ink);font-size:13px;line-height:1.5}
.ownerPeople .owner-tab-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;margin:0 0 16px}
.ownerPeople .owner-tab-head>div:first-child{flex:1 1 320px;min-width:0}
.ownerPeople .owner-tab-head h2{font:400 24px/1.2 var(--disp);letter-spacing:-.2px;margin:0 0 6px;color:var(--ink)}
.ownerPeople .owner-tab-head p{font-size:13px;color:var(--ink-2);margin:0;max-width:640px;line-height:1.5}
.ownerPeople .ownerPeople-controls{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;flex:0 0 auto}
.ownerPeople .ownerPeople-controls label{display:flex;flex-direction:column;gap:var(--gap-label);font-size:11px;color:var(--ink-3)}
.ownerPeople .ownerPeople-controls select{min-width:180px;height:36px;padding:0 34px 0 12px;font-size:13px;border-radius:8px}
.ownerPeople .btn{height:36px;min-height:36px;padding:0 14px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.ownerPeople .btn[disabled],.ownerPeople select[disabled]{opacity:.55;cursor:not-allowed}
.ownerPeople-hold,.ownerPeople .owner-tab-status,.ownerPeople .owner-tab-error{font-size:12px;margin:0 0 14px;color:var(--ink-3)}
.ownerPeople .owner-tab-error{color:var(--status-error);background:var(--status-error-tint);border:1px solid var(--hair);border-radius:10px;padding:10px 14px;font-size:13px}
.ownerPeople .owner-tab-status:empty,.ownerPeople .owner-tab-error:empty,.ownerPeople [hidden]{display:none}
.ownerPeople-card{border:1px solid var(--hair);border-radius:12px;background:var(--surface);overflow:hidden}
.ownerPeople-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.ownerPeople-table thead th{font-size:11px;font-weight:500;color:var(--ink-3);background:var(--surface-2);padding:11px 20px;border-bottom:1px solid var(--hair-soft)}
.ownerPeople-table tbody th,.ownerPeople-table tbody td{padding:12px 20px;vertical-align:middle}
.ownerPeople-row+.ownerPeople-row th,.ownerPeople-row+.ownerPeople-row td,.ownerPeople-detail+.ownerPeople-row th,.ownerPeople-detail+.ownerPeople-row td{border-top:1px solid var(--hair-soft)}
.ownerPeople-name{font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.ownerPeople-role,.ownerPeople-status{color:var(--ink-2);white-space:nowrap}
.ownerPeople-status.is-empty{color:var(--ink-3)}
.ownerPeople-action{text-align:right;white-space:nowrap;width:1%}
.ownerPeople-action .btn{min-width:172px}
.ownerPeople-textButton{display:inline-flex;align-items:center;height:var(--control-h);margin-left:8px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.ownerPeople-textButton:hover{color:var(--ink)}
.ownerPeople-textButton[disabled]{opacity:.55;cursor:not-allowed}
.ownerPeople-detail td{padding:0 20px 16px;border-top:0}
.ownerPeople-note{display:flex;flex-direction:column;gap:6px;max-width:520px;margin-left:auto}
.ownerPeople-note label{font-size:11px;color:var(--ink-3)}
.ownerPeople-note input{height:36px;padding:0 12px;font-size:13px;width:100%;box-sizing:border-box}
.ownerPeople-panel{border:1px solid var(--hair);border-radius:10px;background:var(--surface-2);padding:16px 18px}
.ownerPeople-panel h3{font-size:14px;font-weight:500;line-height:1.3;margin:0 0 12px;color:var(--ink)}
.ownerPeople-panel p{font-size:12px;color:var(--ink-2);margin:10px 0 0;line-height:1.5}
.ownerPeople-confirm p{margin:0;color:var(--ink)}
.ownerPeople-linkField{display:flex;gap:8px;align-items:center}
.ownerPeople-linkField input{flex:1 1 auto;min-width:0;height:36px;padding:0 12px;box-sizing:border-box;font-family:var(--mono);font-size:12px;color:var(--ink);background:var(--surface)}
.ownerPeople-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.ownerPeople-message{font-size:12px;color:var(--ink-2);margin:0;padding:10px 14px;border-radius:10px;background:var(--surface-2)}
.ownerPeople-message.is-error{color:var(--status-error);background:var(--status-error-tint);border:1px solid var(--hair)}
.ownerPeople-more{padding:14px 0 0}
.ownerPeople-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:720px){
 .ownerPeople .ownerPeople-controls{width:100%}
 .ownerPeople .ownerPeople-controls label{flex:1 1 160px}
 .ownerPeople .ownerPeople-controls select{min-width:0;width:100%;height:40px}
 .ownerPeople .btn{height:40px;min-height:40px}
 .ownerPeople-table,.ownerPeople-table tbody,.ownerPeople-table tr,.ownerPeople-table th,.ownerPeople-table td{display:block;width:auto}
 .ownerPeople-table thead{display:none}
 .ownerPeople-table tr.ownerPeople-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px;padding:14px 16px}
 .ownerPeople-table tbody .ownerPeople-row th,.ownerPeople-table tbody .ownerPeople-row td{padding:0;border-top:0}
 .ownerPeople-row+.ownerPeople-row,.ownerPeople-detail+.ownerPeople-row{border-top:1px solid var(--hair-soft)}
 .ownerPeople-row .ownerPeople-name{grid-column:1/-1;font-size:14px}
 .ownerPeople-row .ownerPeople-role{grid-column:1}
 .ownerPeople-row .ownerPeople-status{grid-column:2;text-align:left;white-space:normal}
 .ownerPeople-row .ownerPeople-action{grid-column:1/-1;width:auto;text-align:left;display:flex;align-items:center;gap:8px;margin-top:8px;white-space:normal}
 .ownerPeople-row .ownerPeople-action .btn{flex:1 1 auto;min-width:0}
 .ownerPeople-textButton{margin-left:0}
 .ownerPeople-table tbody .ownerPeople-detail td{padding:0 16px 16px}
 .ownerPeople-note{max-width:none}
 .ownerPeople-linkField{flex-direction:column;align-items:stretch}
 .ownerPeople-linkField .btn{width:100%}
}

/* People management (15 Nov 2026, batch 10): client/people-admin.js. Same head, card and table as the list above; one flat
   selected state, status = hairline + dot + plain word, no shadows. Menus and panels open in place under what was pressed. */
.peopleAdmin .ownerPeople-controls{align-items:center}
.peopleAdmin-company{font-size:13px;color:var(--ink-2);padding:0 4px}
.peopleAdmin-addHost{margin:0 0 16px}
.peopleAdmin-panel h3{font-size:14px;font-weight:500;margin:0 0 12px;color:var(--ink)}
.peopleAdmin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}
.peopleAdmin-grid>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.peopleAdmin-grid .input,.peopleAdmin-panel>.input{height:36px;padding:0 12px;font-size:13px;width:100%;box-sizing:border-box}
.peopleAdmin-label{font-size:11px;color:var(--ink-3);font-weight:400}
.peopleAdmin-panel .peopleAdmin-label+.input{margin-top:6px}
.peopleAdmin .peopleAdmin-note{font-size:12px;color:var(--ink-3);margin:10px 0 0;line-height:1.5}
.peopleAdmin .peopleAdmin-fieldError{font-size:12px;color:var(--status-error);margin:6px 0 0}
.peopleAdmin-done{font-size:13px;color:var(--ink);margin:0 0 10px}
.peopleAdmin-panel .peopleAdmin-done{margin:0}
.peopleAdmin-filters{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin:0 0 12px}
.peopleAdmin-filters input[type=search]{flex:0 1 320px;min-width:0;height:36px;padding:0 12px;font-size:13px;box-sizing:border-box}
.peopleAdmin-toggle{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-2);cursor:pointer}
.peopleAdmin-toggle input{margin:0;accent-color:var(--iris)}
.peopleAdmin-empty{font-size:13px;color:var(--ink-3);border:1px solid var(--hair);border-radius:12px;padding:18px 20px;margin:0;background:var(--surface)}
.peopleAdmin .peopleAdmin-card{overflow:visible}
.peopleAdmin-table thead tr th:first-child{border-top-left-radius:12px}
.peopleAdmin-table thead tr th:last-child{border-top-right-radius:12px}
.peopleAdmin-name{display:block}
.peopleAdmin-email{display:block;font-size:12px;font-weight:400;color:var(--ink-3);overflow-wrap:anywhere}
.peopleAdmin-row.is-inactive .peopleAdmin-name,.peopleAdmin .ownerPeople-row.is-inactive .peopleAdmin-name{color:var(--ink-2)}
.peopleAdmin-state{display:inline-flex;align-items:center;gap:8px;white-space:normal;color:var(--ink-2)}
.peopleAdmin-state i{flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:var(--status-ok)}
.peopleAdmin-state[data-tone="warn"] i{background:var(--status-warn)}
.peopleAdmin-state[data-tone="off"] i{background:var(--ink-3)}
.peopleAdmin-sub{color:var(--ink-3)}
.peopleAdmin .ownerPeople-status{white-space:normal}
.peopleAdmin .ownerPeople-action{width:56px}
.peopleAdmin-menuWrap{position:relative;display:inline-block}
.peopleAdmin-menuButton{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 8px;border:1px solid transparent;border-radius:8px;background:none;color:var(--ink-2);cursor:pointer}
.peopleAdmin-menuButton svg{width:18px;height:18px;fill:currentColor}
.peopleAdmin-menuButton:hover,.peopleAdmin-menuButton[aria-expanded="true"]{background:var(--sel-fill);color:var(--sel-ink);border-color:var(--sel-line)}
.peopleAdmin-menuButton[disabled]{opacity:.55;cursor:not-allowed}
.peopleAdmin-busy{font-size:12px;white-space:nowrap}
.peopleAdmin-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:220px;display:flex;flex-direction:column;padding:4px;border:1px solid var(--hair);border-radius:10px;background:var(--surface);text-align:left}
.peopleAdmin-menuItem{display:block;width:100%;text-align:left;border:0;border-radius:6px;background:none;color:var(--ink);font:inherit;font-size:13px;padding:8px 12px;cursor:pointer;white-space:nowrap}
.peopleAdmin-menuItem:hover,.peopleAdmin-menuItem:focus-visible{background:var(--sel-fill);color:var(--sel-ink);outline:none}
.peopleAdmin-menuItem.is-danger{color:var(--status-error)}
.peopleAdmin .peopleAdmin-danger{color:var(--status-error);border-color:var(--hair-2)}
.peopleAdmin-roles{border:0;padding:0;margin:0;display:grid;gap:8px}
.peopleAdmin-roles legend{margin-bottom:8px}
.peopleAdmin-choice{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--hair);border-radius:8px;background:var(--surface);cursor:pointer}
.peopleAdmin-choice:has(input:checked){background:var(--sel-fill);border-color:var(--sel-line)}
.peopleAdmin-choice input{margin:3px 0 0;accent-color:var(--iris)}
.peopleAdmin-choice span{display:flex;flex-direction:column;gap:2px}
.peopleAdmin-choice strong{font-size:13px;font-weight:500;color:var(--ink)}
.peopleAdmin-choice small{font-size:12px;color:var(--ink-3)}
.peopleAdmin-settings{margin:20px 0 0;padding:16px 20px}
.peopleAdmin-settingsHead h3{font-size:14px;font-weight:500;margin:0 0 4px;color:var(--ink)}
.peopleAdmin-settingsHead p{font-size:12px;color:var(--ink-3);margin:0 0 14px}
.peopleAdmin-settingsFoot{display:flex;align-items:center;gap:12px;margin-top:14px}
.peopleAdmin-settingsFoot .peopleAdmin-note{margin:0}
.peopleAdmin-history{margin:20px 0 0}
.peopleAdmin-disclosure{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:6px 0;color:var(--ink-2);font:inherit;font-size:13px;cursor:pointer}
.peopleAdmin-disclosure:hover{color:var(--ink)}
.peopleAdmin-chevron{display:inline-block;width:7px;height:7px;transform:rotate(-45deg);transition:transform .15s}
.peopleAdmin-chevron::before{content:'';display:block;width:7px;height:7px;box-sizing:border-box;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor}
.peopleAdmin-disclosure[aria-expanded="true"] .peopleAdmin-chevron{transform:rotate(45deg)}
.peopleAdmin-historyBody{padding:6px 0 0}
.peopleAdmin-events{list-style:none;margin:0;padding:0;border:1px solid var(--hair);border-radius:12px;background:var(--surface)}
.peopleAdmin-events li{font-size:13px;color:var(--ink);padding:10px 16px;line-height:1.45}
.peopleAdmin-events li+li{border-top:1px solid var(--hair-soft)}
.peopleAdmin-when{color:var(--ink-3)}
.peopleAdmin-historyBody .ownerPeople-textButton{margin:8px 0 0}
@media (max-width:720px){
 .peopleAdmin .ownerPeople-controls{justify-content:flex-start}
 .peopleAdmin .ownerPeople-controls .btn{flex:1 1 auto}
 .peopleAdmin-grid{grid-template-columns:minmax(0,1fr)}
 .peopleAdmin-grid .input{height:40px}
 .peopleAdmin-filters input[type=search]{flex:1 1 100%;height:40px}
 .peopleAdmin .ownerPeople-table tr.ownerPeople-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}
 .peopleAdmin .ownerPeople-row .ownerPeople-name{grid-column:1;grid-row:1}
 .peopleAdmin .ownerPeople-row .ownerPeople-action{grid-column:2;grid-row:1;margin-top:0;width:auto;justify-content:flex-end}
 .peopleAdmin .ownerPeople-row .ownerPeople-role{grid-column:1/-1;grid-row:2}
 .peopleAdmin .ownerPeople-row .ownerPeople-status{grid-column:1/-1;grid-row:3}
 .peopleAdmin .ownerPeople-row .ownerPeople-action .peopleAdmin-menuButton{flex:0 0 auto;min-width:40px;height:40px}
 .peopleAdmin-settings{padding:14px 16px}
}
.peopleAdmin-addActions{align-items:center}
.peopleAdmin .peopleAdmin-inlineError{margin:0 0 0 4px;flex:1 1 240px}
.peopleAdmin .peopleAdmin-inlineError[hidden]{display:none}
.peopleAdmin .input[aria-invalid="true"]{border-color:var(--status-error)}
