.dialog-backdrop{z-index:40;padding:var(--spacing-space-8);background:var(--backdrop);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);place-items:center;display:grid;position:absolute;inset:0}.dialog{gap:var(--spacing-space-4);width:100%;max-height:100%;padding:var(--spacing-space-6);border-radius:var(--rounded-radius-xl);background:var(--color-popover);color:var(--color-popover-foreground);box-shadow:var(--elevation-3);display:grid}.dialog-sm{max-width:440px}.dialog-md{max-width:520px}.dialog-lg{max-width:760px}.dialog-xl{max-width:1120px}.dialog-header{justify-content:space-between;align-items:flex-start;gap:var(--spacing-space-4);display:flex}.dialog-header h2{overflow-wrap:anywhere;margin:0}.dialog-close{border-radius:var(--rounded-radius-sm);width:30px;height:30px;color:var(--color-muted-foreground);cursor:pointer;background:0 0;border:0;place-items:center;margin:-4px -6px 0 0;display:grid}.dialog-close:hover{background:var(--color-muted);color:var(--color-foreground)}.dialog-body{color:var(--color-muted-foreground);margin:0}.dialog-content{gap:var(--spacing-space-4);min-height:0;display:grid}.dialog-error{padding:var(--spacing-space-2) var(--spacing-space-3);border-radius:var(--rounded-radius-md);background:var(--color-destructive-soft);color:var(--color-destructive-soft-foreground);margin:0}.dialog-actions{justify-content:flex-end;align-items:center;gap:var(--spacing-space-2);margin-top:var(--spacing-space-2);display:flex}.dialog-note{color:var(--color-muted-foreground);margin-right:auto}.dialog{overflow:auto}.dialog:focus{outline:none}.segmented{grid-template-columns:repeat(var(--n), 1fr);border-radius:var(--rounded-radius-md);background:var(--color-secondary);width:max-content;min-width:100%;padding:3px;display:grid;position:relative}.segmented-tabs{border-radius:var(--rounded-radius-full);min-width:0}.segmented-pill{width:calc((100% - 6px) / var(--n));transform:translateX(var(--pill-x));border-radius:calc(var(--rounded-radius-md) - 3px);background:var(--color-card);box-shadow:var(--elevation-1);position:absolute;top:3px;bottom:3px;left:3px}.segmented-tabs .segmented-pill{border-radius:var(--rounded-radius-full)}.segmented-option{height:30px;padding:0 var(--spacing-space-4);color:var(--color-muted-foreground);cursor:pointer;transition:color var(--motion-dur-fast) var(--motion-ease-out);background:0 0;border:0;justify-content:center;align-items:center;gap:6px;display:inline-flex;position:relative}.segmented-option[data-on]{color:var(--color-foreground)}.segmented-option:disabled{cursor:default;opacity:.6}.segmented-option:focus-visible{border-radius:calc(var(--rounded-radius-md) - 3px)}.badge{height:22px;padding:0 var(--spacing-space-2);border-radius:var(--rounded-radius-full);white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.badge-neutral{background:var(--color-secondary);color:var(--color-secondary-foreground)}.badge-info{background:var(--color-accent);color:var(--color-accent-foreground)}.badge-success{background:var(--color-success-soft);color:var(--color-success-soft-foreground)}.badge-warning{background:var(--color-warning-soft);color:var(--color-warning-soft-foreground)}.badge-danger{background:var(--color-destructive-soft);color:var(--color-destructive-soft-foreground)}.badge-outline{box-shadow:inset 0 0 0 1px var(--color-input);color:var(--color-muted-foreground);background:0 0}.badge-spinner{border-radius:var(--rounded-radius-full);border:1.5px solid;border-right-color:#0000;width:10px;height:10px}.sheet{border-radius:var(--rounded-radius-xl);background:var(--color-card);height:100%;min-height:0;box-shadow:var(--elevation-2);grid-template-rows:auto 1fr auto;display:grid;overflow:hidden}.sheet-header{justify-content:space-between;align-items:flex-start;gap:var(--spacing-space-3);padding:var(--spacing-space-5) var(--spacing-space-5) var(--spacing-space-3);display:flex}.sheet-titles{gap:2px;min-width:0;display:grid}.sheet-titles h2{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.sheet-subtitle{color:var(--color-muted-foreground);margin:0}.sheet-actions{align-items:center;gap:var(--spacing-space-1);flex:none;display:flex}.sheet-close{border-radius:var(--rounded-radius-sm);width:30px;height:30px;color:var(--color-muted-foreground);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.sheet-close:hover{background:var(--color-muted);color:var(--color-foreground)}.sheet-body{min-height:0;padding:0 var(--spacing-space-5) var(--spacing-space-5);overflow:auto}.sheet-body[data-flush]{border-top:1px solid var(--color-border);padding:0;overflow:hidden}.sheet-footer{padding:var(--spacing-space-4) var(--spacing-space-5);border-top:1px solid var(--color-border)}.sheet-titles h2:focus{outline:none}.menu{min-width:220px;padding:var(--spacing-space-1);border-radius:var(--rounded-radius-lg);background:var(--color-popover);box-shadow:var(--elevation-2), 0 0 0 1px var(--color-border);transform-origin:100% 0;display:grid}.menu-group[data-divider]{margin-top:var(--spacing-space-1);padding-top:var(--spacing-space-1);border-top:1px solid var(--color-border)}.menu-item{width:100%;height:32px;padding:0 var(--spacing-space-2);border-radius:var(--rounded-radius-sm);text-align:left;cursor:pointer;color:var(--color-foreground);background:0 0;border:0;align-items:center;gap:10px;display:flex}.menu-item:hover{background:var(--color-muted)}.menu-item .icon{color:var(--color-muted-foreground)}.menu-item[data-destructive],.menu-item[data-destructive] .icon{color:var(--color-destructive-soft-foreground)}.menu-ai{color:var(--color-primary)!important}.menu-pad{width:15px}.menu-item:focus-visible{background:var(--color-muted);outline:none}.people{align-content:start;gap:var(--spacing-space-4);display:grid}.people-header{justify-content:space-between;align-items:center;display:flex}.people-header h1,.people-header p{margin:0}.people-muted{color:var(--color-muted-foreground);font-weight:400}.people-search{max-width:360px}.people-table{border-collapse:separate;border-spacing:0 2px;width:100%}.people-table th{padding:0 var(--spacing-space-3) var(--spacing-space-2);border-bottom:1px solid var(--color-border);color:var(--color-muted-foreground);text-align:left;font-weight:500}.people-table td{height:56px;padding:0 var(--spacing-space-3)}.people-table td:first-child{border-radius:var(--rounded-radius-md) 0 0 var(--rounded-radius-md)}.people-table td:last-child{border-radius:0 var(--rounded-radius-md) var(--rounded-radius-md) 0}.people-table tr[data-clickable]{cursor:pointer}.people-table tbody tr:hover td{background:var(--color-muted)}.people-table tr[data-selected] td{background:var(--color-accent)}.people-person{align-items:center;gap:var(--spacing-space-3);display:flex}.people-name{display:grid}.people-you{border-radius:var(--rounded-radius-full);background:var(--color-secondary);color:var(--color-muted-foreground);margin-left:6px;padding:0 6px}.people-actions{text-align:right;width:48px;position:relative}.people-menu{z-index:10;text-align:left;position:absolute;top:calc(100% - 6px);right:0}.people-form{gap:var(--spacing-space-4);display:grid}.people-field{justify-items:start;gap:6px;display:grid}.people-password{align-items:center;gap:var(--spacing-space-1);width:100%;padding:0 var(--spacing-space-1) 0 var(--spacing-space-3);border-radius:var(--rounded-radius-md);background:var(--color-muted);min-height:38px;display:flex}.people-password .text-mono-sm{letter-spacing:.04em;flex:1}.people-grants-title{margin:0 0 var(--spacing-space-2);align-items:center;gap:6px;display:flex}.people-grant-row{align-items:center;gap:var(--spacing-space-2);margin-bottom:var(--spacing-space-1);grid-template-columns:minmax(0,1fr) auto auto;display:grid}.people-grant-row .segmented{min-width:0}.people-folder{white-space:nowrap;min-width:0;height:36px;padding:0 var(--spacing-space-3);border-radius:var(--rounded-radius-md);background:var(--color-secondary);cursor:pointer;text-align:left;border:0;align-items:center;gap:6px;display:flex;overflow:hidden}.people-folder .icon:last-child{margin-left:auto}.people-details{gap:var(--spacing-space-2);padding:var(--spacing-space-4);border-radius:var(--rounded-radius-lg);background:var(--color-muted);margin:0;display:grid}.people-details div{grid-template-columns:150px 1fr;display:grid}.people-details dt{color:var(--color-muted-foreground)}.people-details dd{margin:0}.people-grant-list{gap:var(--spacing-space-1);margin:0;padding:0;list-style:none;display:grid}.people-grant-list li{align-items:center;gap:var(--spacing-space-2);padding:var(--spacing-space-2);border-radius:var(--rounded-radius-md);background:var(--color-muted);display:flex}.people-grant-list .button-wrap{margin-left:auto}.people-empty-grants{padding:var(--spacing-space-3);border-radius:var(--rounded-radius-md);background:var(--color-muted);color:var(--color-muted-foreground);margin:0}.people-table tr[data-clickable]:focus-visible td{background:var(--color-muted)}.people-table tr[data-clickable]:focus-visible{outline:none}.people-folder:disabled{cursor:default;opacity:.6}.people-grants{width:100%}.people-grants-title{cursor:pointer;color:inherit;background:0 0;border:0;padding:0}.people-grants-title .icon{transition:transform var(--motion-dur-fast) var(--motion-ease-out)}.people-grants-title[aria-expanded=false] .icon{transform:rotate(-90deg)}.people-folder-picker{min-width:0;position:relative}.people-folder-list{z-index:10;width:100%;min-width:240px;max-height:240px;padding:var(--spacing-space-1);border-radius:var(--rounded-radius-lg);background:var(--color-popover);box-shadow:var(--elevation-2), 0 0 0 1px var(--color-border);transform-origin:0 0;display:grid;position:absolute;top:calc(100% + 4px);left:0;overflow:auto}.people-folder-option{padding:var(--spacing-space-2);border-radius:var(--rounded-radius-sm);text-align:left;cursor:pointer;color:var(--color-foreground);background:0 0;border:0;align-items:center;gap:6px;display:flex}.people-folder-option:hover,.people-folder-option:focus-visible,.people-folder-option[aria-selected=true]{background:var(--color-muted);outline:none}.people-folder-option:disabled{color:var(--color-muted-foreground);cursor:default}.people-folder>span{text-overflow:ellipsis;overflow:hidden}.people-folder-picker .people-folder{width:100%}.people-table tbody tr{position:relative}.people-table tbody tr:has(.people-menu){z-index:20}
