/* Native Grupo palette, no parallel brand or typography. Scoped so existing chat forms are untouched. */
.nadi-people-widget {box-sizing:border-box;max-width:720px;width:100%;margin:18px auto;padding:16px;background:var(--left-side-content-primary-bg-color,#fff);color:var(--left-side-content-primary-text-color,#222);border:1px solid var(--left-side-content-primary-border-color,#ddd);border-radius:5px;text-align:start;font-family:inherit;font-size:14px;}
.nadi-people-widget label{display:block;margin-bottom:7px;font-weight:600;}
.nadi-people-widget .people-query-row{display:flex;gap:8px;align-items:center;}
.nadi-people-widget input{flex:1;min-width:0;border:1px solid var(--form-primary-border-color,#ccc);border-radius:5px;padding:11px;background:var(--form-primary-bg-color,#fff);color:var(--form-primary-text-color,#222);font:inherit;}
.nadi-people-widget button{border:0;border-radius:5px;padding:11px 16px;background:var(--form-tertiary-bg-color,#E86A6A);color:var(--form-secondary-text-color,#fff);font:inherit;cursor:pointer;}
.nadi-people-widget button[data-people-mic]{padding:9px;display:flex;align-items:center;justify-content:center;}
.nadi-people-widget button:disabled{opacity:.5;cursor:default;}
.nadi-people-widget [role=status]{display:block;font-size:12px;line-height:1.5;margin-top:7px;}
.nadi-people-widget .dictating{outline:2px solid var(--form-tertiary-bg-color,#E86A6A);}
.nadi-people-widget svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:2;}
@media(max-width:500px){.nadi-people-widget{padding:10px;}.nadi-people-widget .people-query-row{flex-wrap:wrap;}.nadi-people-widget input{flex-basis:65%;}.nadi-people-widget button[type=submit]{flex-grow:1;}}

/* Ranked results are a compact list, not a second dashboard of large cards. */
.people-results .people-result{display:block;padding:16px 0;border:0;border-bottom:1px solid var(--left-side-content-primary-border-color);border-radius:0}
.people-results .people-result h2{font-size:17px;margin:0 0 3px}
.people-results .people-result h3{font-size:14px;font-weight:600;margin:0 0 6px}
.people-results .people-result p{margin:4px 0;line-height:1.5}
.people-results .people-result a{display:inline-block;margin-top:7px}

/* Theme-specific wordmark retains native navigation proportions on mobile and RTL. */
.people-brand img{display:block;width:160px;max-width:100%;height:48px;object-fit:contain}
.people-brand{flex-shrink:0}
.people-results .people-result{overflow-wrap:anywhere;text-align:start}
@media(max-width:600px){.people-brand img{width:128px;height:40px}}

/* Keep a tall native welcome screen reachable: auto margins centre short content and collapse to zero for overflow. */
.main .middle > .content > .welcome_screen{overflow-y:auto;overflow-x:hidden;justify-content:flex-start;min-height:0;}
.main .middle > .content > .welcome_screen > .contents{flex:0 0 auto;width:100%;max-width:100%;min-width:0;margin-block:auto;}

/* Whole labels are comfortable touch targets; checkbox focus follows its real bounds in RTL too. */
.panel>label.people-preference{display:flex;align-items:flex-start;gap:.75rem;min-height:44px;padding:.65rem .75rem;margin-block:.6rem;border:1px solid var(--line);border-radius:8px;line-height:1.5;background:var(--canvas);cursor:pointer}
.people-preference>span{flex:1;min-width:0}
.panel .people-preference input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0;margin:.12rem 0 0;accent-color:var(--accent)}
