/* Personal appearance is optional and stays inside one contained workspace. */
.character-editor-dialog {
  width:min(940px,calc(100vw - 48px));
  max-width:none;
  max-height:calc(100dvh - 48px);
  margin:auto;
  padding:0;
  border:1px solid var(--erp-line,#dce1e8);
  border-radius:32px;
  background:var(--erp-surface,#fffefa);
  color:var(--erp-ink,#29333d);
  /* Match the application's existing body stack, including its Cyrillic fallback. */
  font-family:"Porsche Next","Arial Nova","Helvetica Neue",Arial,sans-serif;
  box-shadow:var(--erp-modal-shadow,0 28px 100px #26344833);
  overflow:hidden;
  overscroll-behavior:contain;
}
.character-editor-dialog::backdrop {background:#14203580;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
html[data-theme="dark"] .character-editor-dialog {border-color:var(--erp-line,#3b4452);background:var(--erp-surface,#262c35);color:var(--erp-ink,#f2f1ef);box-shadow:var(--erp-modal-shadow,0 28px 100px #05091466)}
.character-editor-dialog[open] {animation:character-editor-enter .22s var(--erp-ease,ease-out)}
.character-editor-dialog * {box-sizing:border-box}
.character-editor-dialog :is(button,input,select,textarea,fieldset,legend,p,strong,small,label,span) {font-family:inherit}
.character-editor-dialog [hidden] {display:none!important}
.character-editor-shell {display:flex;flex-direction:column;height:min(750px,calc(100dvh - 50px));max-height:calc(100dvh - 50px);margin:0;min-height:0}
.character-editor-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex:none;padding:25px 28px 21px;border-bottom:1px solid var(--erp-line,#dce1e8)}
.character-eyebrow {display:block;font-size:10px;font-weight:650;letter-spacing:.11em;text-transform:uppercase;color:var(--erp-accent-ink,#3c618f)}
.character-editor-heading h2 {margin:6px 0 5px;font-size:28px;line-height:1.15;font-weight:650;letter-spacing:-1px}
.character-editor-heading p {margin:0;font-size:13px;line-height:1.5;color:var(--erp-muted,#65717e)}
.character-close {display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--erp-line,#dce1e8);border-radius:50%;background:var(--erp-soft,#edf0f4);color:var(--erp-ink,#29333d);cursor:pointer}
.character-close svg {width:20px;height:20px}
.character-editor-workspace {display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);flex:1;min-height:0}
.character-preview-panel {display:flex;flex-direction:column;justify-content:center;gap:16px;min-width:0;min-height:0;padding:25px 27px;background:var(--erp-mesh,#f3f1f5);border-right:1px solid var(--erp-line,#dce1e8)}
.character-preview-stage {position:relative;display:grid;place-items:center;isolation:isolate;min-height:0;width:100%;max-height:310px;aspect-ratio:1;border-radius:35%;transition:background .2s ease}
.character-preview-halo {position:absolute;inset:5%;z-index:-1;border:1px solid #ffffff91;border-radius:50%;background:radial-gradient(ellipse at 24% 20%,#ffffffc7,#d6d8f04d 56%,#e9e8f021);box-shadow:0 16px 60px #6964a019,inset 0 0 25px #ffffff40;transition:background .22s ease}
.character-preview-stage[data-background="blue"] .character-preview-halo {background:radial-gradient(ellipse at 24% 20%,#ffffffb8,#aacce978 65%,#c7daf130)}
.character-preview-stage[data-background="mint"] .character-preview-halo {background:radial-gradient(ellipse at 24% 20%,#ffffffb8,#b2d5ca85 65%,#d5ece030)}
.character-preview-stage[data-background="peach"] .character-preview-halo {background:radial-gradient(ellipse at 24% 20%,#ffffffb8,#edc4bb85 65%,#efe0db30)}
.character-preview-image {display:block;width:100%;height:100%;max-width:310px;max-height:310px;object-fit:contain;filter:drop-shadow(0 12px 13px #4a49791a);transition:filter .2s ease}
.character-photo-preview {display:grid;place-items:center;width:68%;aspect-ratio:1;border:7px solid #ffffffa3;border-radius:50%;overflow:hidden;box-shadow:0 20px 40px #424b6b1a;background:#dae3ed;color:#435b75}
.character-photo-preview>img {width:100%;height:100%;object-fit:cover}
.character-photo-preview>span {font-size:clamp(32px,5vw,70px);font-weight:600;letter-spacing:-.05em}
.character-preview-spark {position:absolute;right:3%;top:12%;display:grid;place-items:center;width:39px;height:39px;border:1px solid #ffffffb3;border-radius:14px;background:#fffefa80;color:#7865b0;transform:rotate(12deg);box-shadow:0 5px 20px #6760960d}
.character-preview-spark svg {width:21px;height:21px}
.character-preview-caption {text-align:center;min-width:0}
.character-preview-caption strong {display:block;font-size:18px;line-height:1.3;font-weight:600;overflow-wrap:anywhere}
.character-preview-caption p {margin:6px auto 0;max-width:230px;font-size:12px;line-height:1.5;color:var(--erp-muted,#65717e)}
.character-mode {display:grid;grid-template-columns:1fr 1fr;gap:3px;flex:none;width:100%;max-width:290px;min-width:0;align-self:center;padding:4px;margin:1px 0 0;border:1px solid var(--erp-line,#dce1e8);border-radius:17px;background:var(--erp-glass,#fffefad9)}
.character-editor-dialog .character-mode>legend {position:absolute;width:1px;height:1px;min-width:0;min-height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.character-mode label {display:block;position:relative;min-width:0;margin:0;cursor:pointer}
.character-mode label>span {display:flex;align-items:center;justify-content:center;gap:6px;min-height:43px;padding:10px 7px;border:1px solid transparent;border-radius:12px;font-size:13px;font-weight:600;color:var(--erp-muted,#65717e);transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.character-mode svg {width:17px;height:17px;flex:none}
.character-mode input:checked+span {background:var(--erp-raised,#fff);color:var(--erp-ink,#29333d);border-color:var(--erp-line,#dce1e8);box-shadow:0 2px 8px #25324e09}
.character-editor-controls {display:flex;flex-direction:column;min-width:0;min-height:0}
.character-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:none;margin:0;padding:18px 22px 15px;border-bottom:1px solid var(--erp-line,#dce1e8)}
.character-tabs button {display:block;min-width:0;min-height:44px;padding:10px 9px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--erp-muted,#65717e);font:inherit;font-size:13px;font-weight:550;cursor:pointer;transition:background .18s ease,color .18s ease}
.character-tabs button[aria-selected="true"] {border-color:var(--erp-line,#dce1e8);background:var(--erp-accent,#e3eaf5);color:var(--erp-accent-ink,#3c618f)}
.character-tabs button:disabled {cursor:default;opacity:.55}
.character-options-scroll {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:23px 24px 26px;scroll-padding-block:20px}
.character-tab-panel {display:grid;gap:24px;min-width:0}
.character-section-heading h3 {font-size:20px;line-height:1.25;letter-spacing:-.45px;margin:0 0 5px;font-weight:600}
.character-section-heading p {font-size:12px;line-height:1.5;color:var(--erp-muted,#65717e);margin:0}
.character-options {min-width:0;padding:0;margin:0;border:0}
.character-options>legend {padding:0;margin:0 0 11px;font-size:13px;line-height:1.4;font-weight:600;color:var(--erp-ink,#29333d)}
.character-option-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.character-choice {display:block;position:relative;min-width:0;margin:0;cursor:pointer}
.character-editor-dialog :is(.character-choice,.character-mode) input[type="radio"] {position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.character-choice-surface {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:49px;height:100%;padding:12px 8px;border:1px solid var(--erp-line,#dce1e8);border-radius:16px;background:var(--erp-surface,#fffefa);color:var(--erp-ink,#29333d);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}
.character-choice-label {max-width:100%;font-size:12px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
.character-choice-check {position:absolute;right:5px;top:5px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--erp-accent-ink,#3c618f);color:var(--erp-surface,#fffefa);opacity:0;transform:scale(.7);transition:opacity .15s ease,transform .15s ease}
.character-choice-check svg {width:12px;height:12px}
.character-choice input:checked+.character-choice-surface {border-color:var(--erp-focus,#3c618f);background:var(--erp-accent,#e3eaf5);box-shadow:inset 0 0 0 1px var(--erp-focus,#3c618f)}
.character-choice input:checked+.character-choice-surface>.character-choice-check {opacity:1;transform:scale(1)}
.character-choice input:disabled+.character-choice-surface,.character-mode input:disabled+span {cursor:default}
.character-options-portraits .character-choice-surface {padding:8px 8px 11px;gap:3px;overflow:hidden}
.character-options-portraits img {display:block;width:100%;height:105px;object-fit:contain;transition:transform .18s ease}
.character-options[data-character-scope="human"]:has(input[name="hairStyle"]) .character-option-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.character-options:has(input[name="hairStyle"]) img {height:74px}
.character-options-colors .character-option-grid {grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:7px}
.character-options-colors .character-choice-surface {gap:8px;padding:10px 5px 9px;border-radius:14px}
.character-options-colors .character-choice-label {font-size:10px}
.character-swatch {display:block;width:28px;height:28px;flex:none;border-radius:50%;border:1px solid #34475e24;box-shadow:inset 0 2px 2px #ffffff20}
.character-swatch[data-swatch="skin-porcelain"] {background:#f4d6c8}
.character-swatch[data-swatch="skin-peach"] {background:#e9b89d}
.character-swatch[data-swatch="skin-honey"] {background:#c89365}
.character-swatch[data-swatch="skin-bronze"] {background:#996447}
.character-swatch[data-swatch="skin-espresso"] {background:#603e32}
.character-swatch[data-swatch="hairColor-blonde"] {background:#dec38b}
.character-swatch[data-swatch="hairColor-chestnut"] {background:#81553b}
.character-swatch[data-swatch="hairColor-brunette"] {background:#302a2e}
.character-swatch[data-swatch="hairColor-auburn"] {background:#b56c45}
.character-swatch[data-swatch="hairColor-silver"] {background:#bdc2cb}
.character-swatch[data-swatch="outfit-lilac"] {background:#ad9bd2}
.character-swatch[data-swatch="outfit-sky"] {background:#91bed4}
.character-swatch[data-swatch="outfit-sage"] {background:#91b3a3}
.character-swatch[data-swatch="outfit-navy"] {background:#42566f}
.character-swatch[data-swatch="outfit-ivory"] {background:#eee8dc}
.character-swatch[data-swatch="background-lavender"] {background:linear-gradient(135deg,#e8e1f6,#c2afd9)}
.character-swatch[data-swatch="background-blue"] {background:linear-gradient(135deg,#e7f0f8,#a6c5df)}
.character-swatch[data-swatch="background-mint"] {background:linear-gradient(135deg,#e2f1e8,#a7cebd)}
.character-swatch[data-swatch="background-peach"] {background:linear-gradient(135deg,#f9e7df,#e0b5a8)}
.character-swatch[data-swatch="robotColor-pearl"] {background:linear-gradient(135deg,#fafcfe,#c8d2df)}
.character-swatch[data-swatch="robotColor-graphite"] {background:linear-gradient(135deg,#728199,#303b50)}
.character-swatch[data-swatch="robotColor-lavender"] {background:linear-gradient(135deg,#dbcff0,#9d8cbb)}
.character-swatch[data-swatch="robotEyes-cyan"] {background:#6de1ed}
.character-swatch[data-swatch="robotEyes-violet"] {background:#b79afa}
.character-swatch[data-swatch="robotEyes-amber"] {background:#f1c979}
.character-option-note {margin:0;padding:15px;border:1px solid var(--erp-line,#dce1e8);border-radius:16px;background:var(--erp-soft,#edf0f4);font-size:12px;line-height:1.6;color:var(--erp-muted,#65717e)}
.character-photo-note {display:flex;flex-direction:column;justify-content:center;min-height:100%;padding:20px 6px;text-align:center}
.character-photo-note>span {display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;border-radius:21px;background:var(--erp-accent,#e3eaf5);color:var(--erp-accent-ink,#3c618f)}
.character-photo-note svg {width:25px;height:25px}
.character-photo-note h3 {margin:0 0 10px;font-size:21px;line-height:1.3;font-weight:600;letter-spacing:-.4px}
.character-photo-note p {margin:0 auto;max-width:290px;color:var(--erp-muted,#65717e);font-size:13px;line-height:1.7}
.character-editor-feedback {flex:none;padding-inline:25px;background:var(--erp-surface,#fffefa)}
.character-editor-feedback:has(>[hidden]):not(:has(>:not([hidden]))) {display:none}
.character-editor-status,.character-editor-error {margin:0;padding:13px 0 2px;font-size:12px;line-height:1.5}
.character-editor-status {color:var(--erp-muted,#65717e)}
.character-editor-error {color:var(--erp-danger,#a33e38)}
.character-reload {min-height:44px;padding:10px 0;border:0;background:transparent;color:var(--erp-accent-ink,#3c618f);font:inherit;font-size:12px;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.character-editor-footer {display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;padding:17px 25px 20px;border-top:1px solid var(--erp-line,#dce1e8);background:var(--erp-surface,#fffefa)}
.character-editor-footer>span {font-size:11px;line-height:1.5;color:var(--erp-muted,#65717e)}
.character-save,.character-confirm-secondary {display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;min-width:0;padding:13px 21px;border:1px solid transparent;border-radius:16px;background:var(--erp-primary,#29343e);color:var(--erp-primary-ink,#faf9f6);font:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;transition:background .18s ease,opacity .18s ease,transform .18s ease}
.character-save svg {width:18px;height:18px;flex:none}
.character-confirm-secondary {border-color:var(--erp-line,#dce1e8);background:var(--erp-soft,#edf0f4);color:var(--erp-ink,#29333d)}
.character-save:disabled {opacity:.5;cursor:default}
.character-editor-confirm {display:grid;gap:15px;flex:none;padding:20px 25px;border-top:1px solid var(--erp-control-line,#bdc8d5);background:var(--erp-surface,#fffefa)}
.character-editor-confirm strong {font-size:15px;font-weight:600}
.character-editor-confirm p {margin:6px 0 0;color:var(--erp-muted,#65717e);font-size:12px;line-height:1.5}
.character-editor-confirm>div:last-child {display:flex;justify-content:flex-end;gap:10px}
.character-editor-shell:has(.character-editor-confirm:not([hidden])) .character-editor-footer {display:none}
.character-editor-dialog button:focus-visible,.character-editor-dialog input:focus-visible+span {outline:2px solid var(--erp-focus,#3c618f);outline-offset:3px}
html[data-theme="dark"] .character-preview-halo {border-color:#c7c4ee22;background:radial-gradient(ellipse at 24% 20%,#b8a8d933,#6b608b30 56%,#9493a821);box-shadow:0 16px 60px #090b1419,inset 0 0 25px #ffffff05}
html[data-theme="dark"] .character-preview-stage[data-background="blue"] .character-preview-halo {background:radial-gradient(ellipse at 24% 20%,#88a2c944,#42688730 65%,#232c4421)}
html[data-theme="dark"] .character-preview-stage[data-background="mint"] .character-preview-halo {background:radial-gradient(ellipse at 24% 20%,#94bea444,#5c817030 65%,#22413521)}
html[data-theme="dark"] .character-preview-stage[data-background="peach"] .character-preview-halo {background:radial-gradient(ellipse at 24% 20%,#c49b9444,#96696030 65%,#452a3021)}
html[data-theme="dark"] .character-preview-spark {border-color:#bfb4d533;background:#39394880;color:#d4baf5}
html[data-theme="dark"] .character-photo-preview {border-color:#8f96a740;background:#3d485b;color:#e2e6f2}
html[data-theme="dark"] .character-choice-check {color:#233042}

/* The existing profile position becomes the discoverable entry point. */
button.desktop-profile {appearance:none;-webkit-appearance:none;font:inherit;text-align:left;cursor:pointer}
button.desktop-profile:focus-visible,.mobile-character-profile:focus-visible {outline:2px solid var(--erp-focus,#3c618f);outline-offset:3px}
.mobile-character-profile {display:none}
img[data-person-id][hidden] {display:none!important}
@media (hover:hover) and (pointer:fine) {
  .character-choice:hover input:not(:disabled)+.character-choice-surface {border-color:var(--erp-control-line,#bdc8d5);background:var(--erp-soft,#edf0f4)}
  .character-choice:hover input:checked+.character-choice-surface {border-color:var(--erp-focus,#3c618f);background:var(--erp-accent,#e3eaf5)}
  .character-options-portraits .character-choice:hover img {transform:translateY(-2px)}
  .character-tabs button:hover:not(:disabled),.character-close:hover:not(:disabled) {background:var(--erp-accent,#e3eaf5)}
  .character-save:hover:not(:disabled) {transform:translateY(-1px);box-shadow:0 5px 16px #29344c14}
}
@media screen and (max-width:1179px) {
  .mobile-character-profile {display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:40px;max-width:150px;padding:3px 9px 3px 3px;border:1px solid var(--erp-line,#dce1e8);border-radius:999px;background:var(--erp-soft,#edf0f4);color:var(--erp-ink,#29333d);font:inherit;font-size:11px;font-weight:550;line-height:1.2;cursor:pointer}
  .mobile-character-avatar {display:grid;place-items:center;position:relative;flex:none;width:32px;height:32px;overflow:hidden;border-radius:50%;background:var(--erp-accent,#e3eaf5);color:var(--erp-accent-ink,#3c618f);font-size:11px}
  .mobile-character-avatar img {width:100%;height:100%;object-fit:cover}
  .mobile-character-profile>span:not(.mobile-character-avatar) {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-character-profile>span>strong {display:block;max-width:90px;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:600;line-height:1.35}
  .mobile-character-profile>span>small {display:block;font-size:9px;line-height:1.35;color:var(--erp-muted,#65717e)}
}
@media(max-width:700px) {
  .character-editor-dialog {position:fixed;inset:auto 0 0;width:100%;max-width:700px;max-height:calc(100dvh - max(10px,env(safe-area-inset-top,0px)));margin:0 auto;border-width:1px 0 0;border-radius:27px 27px 0 0}
  .character-editor-shell {height:calc(100dvh - max(12px,env(safe-area-inset-top,0px)));max-height:850px}
  .character-editor-heading {padding:18px 20px 14px;gap:12px}
  .character-editor-heading h2 {font-size:23px;margin:5px 0 4px;letter-spacing:-.7px}
  .character-editor-heading p {font-size:11px}
  .character-eyebrow {font-size:9px}
  .character-editor-workspace {display:flex;flex-direction:column}
  .character-preview-panel {position:relative;display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;justify-content:normal;gap:5px 14px;flex:none;min-height:145px;padding:10px 22px;border-right:0;border-bottom:1px solid var(--erp-line,#dce1e8)}
  .character-preview-stage {grid-column:1;grid-row:1/3;width:120px;height:120px;max-height:none}
  .character-preview-image {width:120px;height:120px}
  .character-preview-spark {right:0;top:8%;width:26px;height:26px;border-radius:9px}
  .character-preview-spark svg {width:15px;height:15px}
  .character-preview-caption {text-align:left;align-self:end;padding-top:3px}
  .character-preview-caption strong {font-size:14px}
  .character-preview-caption p {font-size:11px;line-height:1.4;margin:5px 0 0}
  .character-mode {align-self:start;max-width:none;padding:3px;border-radius:14px;margin-top:5px}
  .character-mode label>span {gap:4px;min-height:40px;padding:8px 4px;font-size:11px;border-radius:10px}
  .character-mode svg {width:14px;height:14px}
  .character-photo-preview {border-width:4px}
  .character-photo-preview>span {font-size:29px}
  .character-editor-controls {flex:1}
  .character-tabs {padding:9px 17px;gap:5px}
  .character-tabs button {min-height:42px;padding:9px 7px;font-size:12px;border-radius:13px}
  .character-options-scroll {padding:18px 20px 22px;scrollbar-gutter:auto}
  .character-tab-panel {gap:21px}
  .character-section-heading h3 {font-size:18px}
  .character-section-heading p {font-size:11px}
  .character-options-portraits img {height:85px}
  .character-options:has(input[name="hairStyle"]) img {height:69px}
  .character-options-colors .character-option-grid {grid-template-columns:repeat(auto-fit,minmax(49px,1fr));gap:6px}
  .character-options-colors .character-choice-label {font-size:9px}
  .character-options-colors .character-choice-surface {padding-inline:3px}
  .character-options>legend {font-size:12px}
  .character-editor-footer {padding:12px 20px max(14px,env(safe-area-inset-bottom,0px));gap:10px}
  .character-editor-footer>span {max-width:100px;font-size:10px}
  .character-save,.character-confirm-secondary {min-height:46px;padding:12px 15px;font-size:12px;border-radius:14px}
  .character-editor-feedback {padding-inline:20px}
  .character-editor-confirm {padding:16px 20px max(18px,env(safe-area-inset-bottom,0px))}
  .character-editor-confirm>div:last-child {display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .character-photo-note {padding:10px 5px}
  .character-photo-note>span {width:44px;height:44px;margin-bottom:12px;border-radius:16px}
  .character-photo-note h3 {font-size:18px}
  .character-photo-note p {font-size:12px;line-height:1.6}
}
@media(max-width:360px) {
  .character-editor-heading {padding-inline:16px}
  .character-editor-heading p {max-width:220px}
  .character-preview-panel {grid-template-columns:97px minmax(0,1fr);min-height:130px;padding-inline:15px;gap:4px 11px}
  .character-preview-stage,.character-preview-image {width:97px;height:97px}
  .character-preview-caption strong {font-size:13px}
  .character-preview-caption p {font-size:10px}
  .character-mode label>span {font-size:10px;gap:3px}
  .character-mode svg {width:12px;height:12px}
  .character-options-scroll {padding-inline:16px}
  .character-editor-footer {padding-inline:16px}
  .character-editor-footer>span {max-width:77px;font-size:9px}
  .character-save {padding-inline:12px;font-size:11px}
  .character-choice-label {font-size:11px}
  .character-tabs {padding-inline:14px}
  .character-editor-confirm {padding-inline:16px}
}
@media(max-height:620px) and (min-width:701px) {
  .character-editor-heading {padding-top:17px;padding-bottom:14px}
  .character-preview-panel {gap:8px;padding-block:12px}
  .character-preview-stage {align-self:center;width:190px;height:190px}
  .character-preview-caption strong {font-size:15px}
  .character-preview-caption p {display:none}
  .character-editor-footer {padding-block:12px}
}
@media(max-height:620px) and (max-width:700px) {
  .character-editor-heading {padding-block:12px}
  .character-editor-heading p,.character-eyebrow {display:none}
  .character-preview-panel {min-height:105px;grid-template-columns:85px minmax(0,1fr);padding-block:6px}
  .character-preview-stage,.character-preview-image {width:85px;height:85px}
  .character-preview-caption p {display:none}
  .character-tabs {padding-block:6px}
  .character-editor-footer {padding-block:9px}
}
@media(prefers-reduced-motion:reduce) {
  .character-editor-dialog[open] {animation:none}
  .character-editor-dialog * {transition:none!important;scroll-behavior:auto!important}
}
@media(forced-colors:active) {
  .character-editor-dialog,.character-choice-surface,.character-mode,.character-mode label>span,.character-tabs button,.character-save,.character-confirm-secondary,.character-close {border:1px solid CanvasText}
  .character-choice input:checked+span,.character-mode input:checked+span,.character-tabs button[aria-selected="true"] {outline:2px solid Highlight;outline-offset:-3px}
  .character-choice-check {forced-color-adjust:none}
}
@keyframes character-editor-enter {from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
