.tag-chips{gap:4px;min-width:0;display:grid}.tag-chips-list{flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none;display:flex}.tag-chips-list li{border:1px solid var(--border);border-radius:999px;align-items:center;gap:2px;padding:1px 2px 1px 8px;font-size:.8rem;display:inline-flex}.tag-chips-list button{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;padding:0 6px;font-size:.95rem;line-height:1}.tag-chips-add{align-items:center;gap:6px;display:flex}.tag-chips-list li.tag-chips-flagged{border-color:var(--warning);border-style:dashed}.tag-chips-advice{color:var(--muted-foreground);gap:2px;margin:0;padding:0;font-size:.8rem;list-style:none;display:grid}.tag-chips-advice li{flex-wrap:wrap;align-items:center;gap:2px 6px;display:flex}.tag-chips-advice strong{color:var(--foreground);font-weight:600}.character-profile-editor[data-slot=dialog-content]{flex-direction:column;gap:0;width:min(40rem,100vw - 2rem);max-width:min(40rem,100vw - 2rem);max-height:min(92dvh,56rem);padding:0;display:flex;overflow:hidden}.character-profile-header{justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 8px;display:flex}.character-profile-header h2{margin:0;font-size:1.15rem}.character-profile-editor form.character-profile-form{flex-direction:column;gap:0;min-height:0;display:flex;overflow:hidden}.character-profile-tabs{gap:0;min-height:0;overflow:hidden}.character-profile-editor .character-profile-navigation{border-bottom:1px solid var(--border);flex-shrink:0;width:100%;height:auto;min-height:38px;padding:0 12px}.character-profile-navigation [data-slot=tabs-trigger]{min-height:36px;font-size:.8125rem}.character-profile-editor .character-profile-section{overscroll-behavior:contain;gap:16px;min-height:0;padding:16px 18px;display:grid;overflow-y:auto}.character-profile-editor .character-profile-section[hidden]{display:none}.character-profile-footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;padding:12px 18px;display:flex}.character-profile-footer .error{flex:1;max-height:15dvh;margin:0;font-size:.8125rem;overflow-y:auto}.character-profile-sources{flex-wrap:wrap;gap:8px;margin-block:12px;display:flex}@media (width<=600px){.character-profile-editor[data-slot=dialog-content]{width:calc(100vw - 1rem);max-width:calc(100vw - 1rem);max-height:94dvh}.character-profile-header,.character-profile-editor .character-profile-section,.character-profile-footer{padding-inline:12px}.character-profile-editor input:not([type=checkbox]),.character-profile-editor textarea{font-size:16px}}.character-profile-editor[data-slot=dialog-content]{--profile-editor-top:max(.5rem, min(8dvh, 4rem));top:var(--profile-editor-top);--tw-translate-y:0;max-height:min(56rem, calc(100dvh - 2 * var(--profile-editor-top)))}.character-dialog.character-profile-inline{background:var(--background);width:auto;max-width:none;min-height:100%;max-height:none;color:var(--foreground);flex-direction:column;padding:0;display:flex;overflow:visible}.character-profile-inline form.character-profile-form{flex-direction:column;flex:1;gap:0;display:flex;overflow:visible}.character-profile-inline .character-profile-tabs{overflow:visible}.character-profile-inline .character-profile-navigation{border-bottom:1px solid var(--border);width:100%;height:auto;min-height:38px;padding:0 12px}.character-profile-inline .character-profile-section{gap:16px;max-width:44rem;padding:16px 20px;display:grid;overflow:visible}.character-profile-inline .character-profile-section[hidden]{display:none}.character-profile-inline .character-profile-footer{background:var(--background);margin-top:auto;position:sticky;bottom:0}@media (width>=1001px){.character-profile-inline .character-profile-navigation{display:none}}@media (width<=700px){.character-profile-inline input:not([type=checkbox]),.character-profile-inline textarea{font-size:16px}}
