#characterOverview{margin-block:24px}html[data-character-overview=true] .output{display:none}.profile-heading,.profile-source-head{display:flex;align-items:start;justify-content:space-between;gap:14px;flex-wrap:wrap}.profile-heading h2{font-size:26px;overflow-wrap:anywhere}.profile-heading .muted{margin-block:4px}.profile-identity-actions{display:flex;gap:8px;flex-wrap:wrap;margin-block:14px}.profile-group{border-top:1px solid var(--line);padding-block:20px}.profile-group>h3{color:var(--accent);font-size:17px;margin:0 0 14px}.profile-source{margin:0 0 20px}.profile-source:last-child{margin-bottom:0}.profile-source h4{color:var(--muted);font-size:13px;font-weight:500;margin:0}.profile-source p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;line-height:1.8}.profile-source-head button,.profile-identity-actions button{font-size:12px}.profile-source textarea{margin-top:10px;min-height:150px}.focus-text-size{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.focus-text-size>span{font-size:11px;color:var(--muted);margin-right:3px}.focus-text-size button{min-width:42px;min-height:38px;padding:6px 9px;font-size:12px}#assembledComposition>[data-character-action]{margin:0 0 10px}#readingFocus{position:fixed;inset:0;z-index:20001;display:flex;flex-direction:column;background:var(--bg);color:var(--text);height:100dvh;overflow:hidden}#readingFocusScroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px 24px}#readingFocusContent{max-width:900px;margin:auto;font-size:var(--focus-reading-size,20px);line-height:1.85;overflow-wrap:anywhere}#readingFocusContent h2{font-size:1.5em;margin-bottom:1em}#readingFocusContent .profile-group>h3{font-size:1.05em}#readingFocusContent .profile-source h4{font-size:.8em}#readingFocusContent p{font-size:inherit;line-height:inherit;white-space:pre-wrap}.assembled-reading{margin-block:1em}#readingFocus .focus-toolbar{max-height:45%;overflow:auto}#cardFocus .focus-toolbar{max-height:45%;overflow:auto}#profileReturn{margin-bottom:14px}@media(max-width:700px){.profile-source p{font-size:17px}.profile-heading h2{font-size:23px}#readingFocusScroll{padding:20px 18px}.focus-text-size button{min-height:44px}.profile-source-head button{min-height:44px}.workspacebar nav{flex-wrap:wrap}}@media print{#characterOverview,#readingFocus{display:none!important}}
/* Compact profile presentation; expanded and Focus reading always show full text. */
.profile-group{padding-block:12px}.profile-group>h3{margin-bottom:8px}.profile-source{margin-bottom:12px}.profile-source p{margin-block:5px;line-height:1.65}.profile-source-head{gap:8px;align-items:center}.profile-overview-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-block:12px}.profile-identity-actions{margin-block:0}.profile-overview-tools button,.profile-source-head button{min-height:30px;padding:4px 8px}.profile-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.profile-more{font-size:11px;min-height:28px;padding:3px 7px}.reference-view-label{font-size:12px;font-weight:650;color:var(--accent);white-space:nowrap}.reference-more-views{position:relative}.reference-more-views>summary{padding:9px 12px;font-size:12px}.reference-more-views>div{position:absolute;right:0;z-index:50;min-width:145px;padding:6px;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #0006}.reference-more-views button{display:block;width:100%;text-align:left}.reference-supporting{border-left-style:dashed}html[data-reference-workspace=true] .posting-status{display:none}html[data-reference-workspace=true] .workspacebar{flex-wrap:wrap;gap:9px;margin-block:16px}html[data-reference-workspace=true] .workspacebar nav{flex-wrap:wrap;gap:5px}html[data-reference-workspace=true] .workspacebar nav>button{padding-inline:12px}html[data-reference-workspace=true] #cards .card-details .guidance{font-size:12px;line-height:1.5;padding-block:6px}html[data-reference-workspace=true] .card-details .project-card-context textarea{min-height:44px!important;padding:6px 8px;font-size:13px;line-height:1.5}html[data-reference-workspace=true] .card-details .project-card-context p{margin-block:4px;font-size:10px}html[data-reference-workspace=true] .card-details .aside-marker{font-size:11px;margin-block:4px}html[data-reference-workspace=true] .card-details[open]{padding-bottom:2px}html[data-reference-workspace=true] .card-details>summary{padding-block:4px!important}
@media(min-width:900px){html[data-reference-workspace=true] #cards .card-details[open]>.guidance{float:left;width:48%;margin-right:3%}html[data-reference-workspace=true] .card-details .project-card-context{clear:both}html[data-reference-workspace=true] .card-details:after{content:'';display:block;clear:both}}
@media(max-width:700px){.profile-overview-tools button,.profile-source-head button{min-height:40px}.reference-more-views>div{right:0;max-width:calc(100vw - 36px)}html[data-reference-workspace=true] .workspacebar>.actions{margin-left:auto}}
#characterOverview[data-density=compact] .profile-excerpt{font-size:16px;line-height:1.55}

.quick-character-aliases { margin-block: .25rem .65rem; }
.quick-character-aliases summary { width: fit-content; padding: .35rem .65rem; }
.quick-character-aliases ul { display: grid; gap: .3rem; padding: 0; list-style: none; }
.quick-character-aliases li { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.quick-alias-form { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 12rem),1fr)); align-items: end; gap: .4rem; max-width: 48rem; }
.quick-alias-form input { font-size: 1rem; }
.quick-alias-form button[hidden] { display: none; }
.reference-project-picker label { padding-block: .25rem; }
