.theme-admin{min-width:0}.theme-admin-head,.theme-editor-title{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:20px}.theme-admin p{font-size:11px;color:var(--muted);line-height:1.6}.theme-admin-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px}.theme-admin-list{display:grid;gap:7px}.theme-list-item{display:grid;text-align:left;gap:5px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);cursor:pointer}.theme-list-item.selected{background:var(--accent-soft);border-color:var(--blue)}.theme-list-item[hidden]{display:none}.theme-admin small{display:block;font-size:10px;color:var(--muted);line-height:1.5}.theme-editor{min-width:0}.theme-editor-identity{display:grid;grid-template-columns:1fr 1fr;gap:12px}.theme-editor-identity .wide{grid-column:1/-1}.theme-admin .control{margin:0}.theme-editor-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.theme-editor-tabs [aria-pressed=true]{background:var(--accent-soft);color:var(--blue)}.theme-structure-row{display:flex;align-items:center;gap:9px;padding:13px 0;border-bottom:1px solid var(--line);min-width:0}.theme-structure-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.theme-structure-row b,.theme-entity b{font-size:12px}.theme-structure-row .btn{font-size:10px;padding:8px}.theme-entity{padding:15px;border:1px solid var(--line);border-radius:13px;margin:15px 0}.theme-entity>header{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.theme-field-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px;margin-bottom:12px}.theme-field{text-align:left;border:1px solid var(--line);border-radius:9px;padding:10px;background:var(--bg);color:var(--ink);cursor:pointer}.theme-field:hover{border-color:var(--blue)}.theme-field small{overflow-wrap:anywhere}.theme-editor-footer{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.theme-editor-footer>span{font-size:10px;color:var(--muted);flex:1}.theme-validation p{padding:10px;background:var(--accent-soft);border-left:3px solid var(--red)}.theme-notice{padding:12px;background:var(--accent-soft);border-radius:9px}.theme-relationship-map{display:grid;gap:9px}.theme-relationship-map>div{display:flex;align-items:center;gap:10px}.theme-relationship-map span{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:11px}.theme-link-list{padding-left:18px;font-size:11px;line-height:1.8}.theme-table-filter{display:flex;gap:12px;align-items:end}.theme-table-filter .control{flex:1}.theme-chart-preview{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.theme-chart-preview>small{font-size:9px;color:var(--muted);display:block;margin-bottom:12px}.theme-chart-preview .relationship-visual{height:auto;min-height:240px}
@media(max-width:1100px){.theme-admin-layout{grid-template-columns:1fr}.theme-admin-list{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.theme-admin-head{flex-wrap:wrap}}
@media(max-width:760px){.theme-editor-identity{grid-template-columns:1fr}.theme-structure-row{flex-wrap:wrap}.theme-editor-title{flex-wrap:wrap}.theme-admin-head .btn{width:100%}.theme-structure-row .metric-symbol{display:none}.theme-admin-layout{gap:16px}.theme-admin-list{max-height:180px;overflow:auto}.theme-structure-row>div{flex-basis:100%}.theme-editor-footer>span{flex-basis:100%}}
