.editor-shell{max-width:1320px}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.editor-tabs{display:flex;gap:5px}.editor-tabs button{background:transparent;border:0;border-radius:5px;padding:12px 18px;font-weight:700;font-size:14px;min-height:44px}.editor-tabs button[aria-selected=true]{background:var(--ink);color:white}.editor-actions{display:flex;gap:8px}.editor-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.editor-sidebar{border:1px solid var(--line);background:#fff;border-radius:7px;padding:20px;position:sticky;top:20px}.editor-sidebar .section-title h2{font-size:15px}.editor-sidebar #duplicate{font-size:11px;margin-top:14px}.editor-roster-item{width:100%;display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;text-align:left;border-radius:5px;padding:8px;margin-bottom:8px}.editor-roster-item[aria-pressed=true]{border-color:var(--blue);background:var(--soft)}.editor-roster-item img{width:62px;height:48px;object-fit:contain}.editor-roster-item b{display:block;font-size:12px}.editor-roster-item small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.editor-help{font-size:11px;line-height:1.85;color:var(--muted);margin-top:12px;overflow-wrap:anywhere}.editor-help code{font-size:11px;background:var(--paper);padding:2px}.editor-publish{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.editor-publish input{width:100%;font-size:12px}.editor-publish .button{margin-top:16px}.editor-status{padding:13px 17px;background:var(--soft);border:1px solid #cbd3f5;border-radius:5px;font-size:12px;line-height:1.8;margin-bottom:16px;white-space:pre-wrap;overflow-wrap:anywhere}.editor-status.error{color:var(--danger);border-color:#e6bdc5;background:#fdf2f4}.editor-status.success{color:#24654a;border-color:#b3d5c0;background:#f0f9f2}.editor-group{background:#fff;border:1px solid var(--line);border-radius:7px;padding:22px;margin-bottom:16px}.editor-group h2{font-size:16px;margin-bottom:8px}.editor-group h3{font-size:15px;margin-bottom:16px}.editor-group>p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:20px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.editor-field{display:flex;flex-direction:column;gap:6px;min-width:0}.editor-field label{font-size:12px;font-weight:600}.editor-field small{font-size:10px;color:var(--muted);line-height:1.5}.editor-field input,.editor-field select,.editor-field textarea{width:100%;min-height:42px;font-size:13px}.editor-field.wide{grid-column:1/-1}.editor-field textarea{min-height:85px;resize:vertical;font:12px/1.8 Consolas,monospace}.editor-field input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--blue)}.editor-field.check-field{justify-content:center}.ability-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.ability-heading h3{margin:0}.character-editor-title{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-bottom:20px}.character-editor-title h2{font-size:20px}.character-editor-title p{font-size:12px;color:var(--muted);margin-top:5px}.danger-button{color:var(--danger);border-color:#e6bdc5}.json-editor{width:100%;min-height:650px;font:12px/1.7 Consolas,monospace;tab-size:2;resize:vertical}.json-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.editor-preview{background:var(--paper);border-radius:5px;margin-top:16px;padding:12px;display:flex;align-items:center;gap:16px}.editor-preview img{width:150px;height:100px;object-fit:contain}.editor-preview p{font-size:12px;line-height:1.8;color:var(--muted)}.editor-assets-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:14px}.editor-actions .small-button{min-height:44px}@media(max-width:850px){.editor-grid{grid-template-columns:230px minmax(0,1fr);gap:16px}.editor-sidebar{padding:16px}.field-grid{grid-template-columns:1fr}.editor-group{padding:18px}.editor-field.wide{grid-column:auto}.editor-toolbar{align-items:start}.editor-actions{flex-wrap:wrap;justify-content:end}.editor-tabs button{padding:10px 12px;white-space:nowrap}}@media(max-width:620px){.editor-grid{display:flex;flex-direction:column}.editor-sidebar{width:100%;position:static}.editor-main{width:100%}#editor-roster{display:grid;grid-template-columns:1fr 1fr;gap:8px}.editor-roster-item{margin:0}.editor-toolbar{display:block}.editor-actions{justify-content:start;margin-top:14px}.editor-preview{display:block}.json-editor{min-height:450px}.editor-tabs{justify-content:space-between}.editor-tabs button{flex:1}.character-editor-title h2{font-size:18px}}
.editor-group summary{cursor:pointer;font-size:14px;font-weight:700;min-height:32px;line-height:32px;outline-offset:4px}.editor-group summary:focus-visible{outline:3px solid var(--blue)}.editor-group summary span{float:right;color:var(--muted);font-size:10px;font-weight:400}.editor-group[open] summary{margin-bottom:18px}.editor-group[open] summary span{display:none}
